Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
14 | 2 | 2 | 0.970 | interface_member_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 14 | 54 | src/NHibernate/Bytecode/ICollectionTypeFactory.cs |
2 | 15 | 85 | src/NHibernate/Bytecode/ICollectionTypeFactory.cs |
| ||||
/// <summary> /// Creates a new <see cref="CollectionType"/> for an /// <see cref="System.Collections.Generic.IList{T}"/> with bag semantics. /// </summary> /// <typeparam name="T">The type of elements in the list.</typeparam> /// <param name="role">The role the collection is in.</param> /// <param name="propertyRef"> /// The name of the property in the owner object containing the collection ID, /// or <see langword="null" /> if it is the primary key. /// </param> /// <param name="embedded">Is embedded in XML (not supported yet)</param> /// <returns> /// A <see cref="GenericBagType{T}"/> for the specified role. /// </returns> CollectionType Bag<T>(string role, string propertyRef, bool embedded); /// <summary> /// Creates a new <see cref="CollectionType"/> for an <see cref="IList"/>. /// </summary> /// <param name="role">The role the collection is in.</param> /// <param name="propertyRef">The name of the property in the /// owner object containing the collection ID, or <see langword="null" /> if it is /// the primary key.</param> /// <param name="embedded">Is embedded in XML (not supported yet)</param> /// <returns> /// A <see cref="ListType"/> for the specified role. /// </returns> CollectionType List(string role, string propertyRef, bool embedded); |
| ||||
/// <summary> /// Creates a new <see cref="CollectionType"/> for an /// <see cref="System.Collections.Generic.IList<T>"/> with list /// semantics. /// </summary> /// <typeparam name="T">The type of elements in the list.</typeparam> /// <param name="role">The role the collection is in.</param> /// <param name="propertyRef"> /// The name of the property in the /// owner object containing the collection ID, or <see langword="null" /> if it is /// the primary key. /// </param> /// <param name="embedded">Is embedded in XML (not supported yet)</param> /// <returns> /// A <see cref="ListType"/> for the specified role. /// </returns> CollectionType List<T>(string role, string propertyRef, bool embedded); /// <summary> /// Creates a new <see cref="CollectionType"/> for an <see cref="IList"/> /// with id-bag semantics. /// </summary> /// <param name="role">The role the collection is in.</param> /// <param name="propertyRef">The name of the property in the /// owner object containing the collection ID, or <see langword="null" /> if it is /// the primary key.</param> /// <param name="embedded">Is embedded in XML (not supported yet)</param> /// <returns> /// A <see cref="IdentifierBagType"/> for the specified role. /// </returns> CollectionType IdBag(string role, string propertyRef, bool embedded); |
| |||
/// <summary> /// Creates a new <see cref="CollectionType"/> for an /// <see cref="System.Collections.Generic.IList{T}"/> with bag semantics. /// <see cref="System.Collections.Generic.IList<T>"/> with list /// semantics. /// </summary> /// <typeparam name="T">The type of elements in the list.</typeparam> /// <param name="role">The role the collection is in.</param> /// <param name="propertyRef"> /// The name of the property in the owner object containing the collection ID, /// or <see langword="null" /> if it is the primary key. /// The name of the property in the /// owner object containing the collection ID, or <see langword="null" /> if it is /// the primary key. /// </param> /// <param name="embedded">Is embedded in XML (not supported yet)</param> /// <returns> /// A <see cref="GenericBagType{T}"/> for the specified role. /// A <see cref="ListType"/> for the specified role. /// </returns> CollectionType [[#variable53667980]]<T>(string role, string propertyRef, bool embedded); /// <summary> /// Creates a new <see cref="CollectionType"/> for an <see cref="IList"/>. /// Creates a new <see cref="CollectionType"/> for an <see cref="IList"/> /// with id-bag semantics. /// </summary> /// <param name="role">The role the collection is in.</param> /// <param name="propertyRef">The name of the property in the /// owner object containing the collection ID, or <see langword="null" /> if it is /// the primary key.</param> /// <param name="embedded">Is embedded in XML (not supported yet)</param> /// <returns> /// A <see cref="ListType"/> for the specified role. /// A <see cref="IdentifierBagType"/> for the specified role. /// </returns> CollectionType [[#variable536678c0]](string role, string propertyRef, bool embedded); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#53667980]] | Bag |
1 | 2 | [[#53667980]] | List |
2 | 1 | [[#536678c0]] | List |
2 | 2 | [[#536678c0]] | IdBag |