CloneSet2749


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14220.970interface_member_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11454
src/NHibernate/Bytecode/ICollectionTypeFactory.cs
21585
src/NHibernate/Bytecode/ICollectionTypeFactory.cs
Clone Instance
1
Line Count
14
Source Line
54
Source File
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);


Clone Instance
2
Line Count
15
Source Line
85
Source File
src/NHibernate/Bytecode/ICollectionTypeFactory.cs

                /// <summary>
                /// Creates a new <see cref="CollectionType"/> for an 
                /// <see cref="System.Collections.Generic.IList&lt;T&gt;"/> 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);


Clone AbstractionParameter Count: 2Parameter Bindings

/// <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&lt;T&gt;"/> 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#53667980]]
Bag 
12[[#53667980]]
List 
21[[#536678c0]]
List 
22[[#536678c0]]
IdBag