CloneSet1314


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
44240.970interface_member_declarations[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
131116
src/NHibernate/Bytecode/ICollectionTypeFactory.cs
244184
src/NHibernate/Bytecode/ICollectionTypeFactory.cs
Clone Instance
1
Line Count
31
Source Line
116
Source File
src/NHibernate/Bytecode/ICollectionTypeFactory.cs

                /// <summary>
                /// Creates a new <see cref="CollectionType"/> for an 
                /// <see cref="System.Collections.Generic.IList{T}"/> with identifier
                /// 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="GenericIdentifierBagType{T}"/> for the specified role.
                /// </returns>
                CollectionType IdBag<T>(string role, string propertyRef, bool embedded);

                /// <summary>
                /// Creates a new <see cref="CollectionType"/> for an <see cref="Iesi.Collections.ISet"/>.
                /// </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="SetType"/> for the specified role.
                /// </returns>
                CollectionType Set(string role, string propertyRef, bool embedded);

                CollectionType OrderedSet(string role, string propertyRef, bool embedded);

                /// <summary>
                /// Creates a new <see cref="CollectionType"/> for an <see cref="Iesi.Collections.ISet"/>
                /// that is sorted by an <see cref="IComparer"/>.
                /// </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="comparer">The <see cref="IComparer"/> that does the sorting.</param>
                /// <param name="embedded">Is embedded in XML (not supported yet)</param>
                /// <returns>
                /// A <see cref="SortedSetType"/> for the specified role.
                /// </returns>
                CollectionType SortedSet(string role, string propertyRef, bool embedded, IComparer comparer);


Clone Instance
2
Line Count
44
Source Line
184
Source File
src/NHibernate/Bytecode/ICollectionTypeFactory.cs

                /// <summary>
                /// Creates a new <see cref="CollectionType"/> for an ordered <see cref="Iesi.Collections.Generic.ISet{T}" />.
                /// </summary>
                /// <typeparam name="T">The type of elements in the collection.</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="GenericSetType{T}" /> for the specified role.</returns>
                CollectionType OrderedSet<T>(string role, string propertyRef, bool embedded);

                /// <summary>
                /// Creates a new <see cref="CollectionType"/> for an <see cref="IDictionary"/>.
                /// </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="MapType"/> for the specified role.
                /// </returns>
                CollectionType Map(string role, string propertyRef, bool embedded);

                /// <summary>
                /// Creates a new <see cref="CollectionType"/> for an <see cref="IDictionary"/>
                /// that maintains insertion order of elements.
                /// </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="OrderedMapType"/> for the specified role.
                /// </returns>
                CollectionType OrderedMap(string role, string propertyRef, bool embedded);

                /// <summary>
                /// Creates a new <see cref="CollectionType"/> for an <see cref="IDictionary"/>
                /// that is sorted by an <see cref="IComparer"/>.
                /// </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="comparer">The <see cref="IComparer"/> that does the sorting.</param>
                /// <param name="embedded">Is embedded in XML (not supported yet)</param>
                /// <returns>
                /// A <see cref="SortedMapType"/> for the specified role.
                /// </returns>
                CollectionType SortedMap(string role, string propertyRef, bool embedded, IComparer comparer);


Clone AbstractionParameter Count: 4Parameter Bindings

/// <summary>
/// Creates a new <see cref="CollectionType"/> for an ordered <see cref="Iesi.Collections.Generic.ISet{T}" />.
/// Creates a new <see cref="CollectionType"/> for an 
/// <see cref="System.Collections.Generic.IList{T}"/> with identifier
/// bag semantics.
/// </summary>
/// <typeparam name="T">The type of elements in the collection.</typeparam>
/// <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 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="GenericSetType{T}" /> for the specified role.</returns>
/// <returns>
/// A <see cref="GenericIdentifierBagType{T}"/> for the specified role.
/// </returns>
CollectionType [[#variable4bb3de40]]<T>(string role, string propertyRef, bool embedded);
/// <summary>
/// Creates a new <see cref="CollectionType"/> for an <see cref="IDictionary"/>.
/// Creates a new <see cref="CollectionType"/> for an <see cref="Iesi.Collections.ISet"/>.
/// </summary>
/// <param name="role">The role the collection is in.</param>
/// <param name="propertyRef">
/// The name of the property in the
/// <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="MapType"/> for the specified role.
/// A <see cref="SetType"/> for the specified role.
/// </returns>
CollectionType [[#variable4bb3df00]](string role, string propertyRef, bool embedded);
/// <summary>
/// Creates a new <see cref="CollectionType"/> for an <see cref="IDictionary"/>
/// that maintains insertion order of elements.
/// </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="OrderedMapType"/> for the specified role.
/// </returns>
CollectionType [[#variable4bb3dfe0]](string role, string propertyRef, bool embedded);
/// <summary>
/// Creates a new <see cref="CollectionType"/> for an <see cref="IDictionary"/>
/// Creates a new <see cref="CollectionType"/> for an <see cref="Iesi.Collections.ISet"/>
/// that is sorted by an <see cref="IComparer"/>.
/// </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="comparer">The <see cref="IComparer"/> that does the sorting.</param>
/// <param name="embedded">Is embedded in XML (not supported yet)</param>
/// <returns>
/// A <see cref="SortedMapType"/> for the specified role.
/// A <see cref="SortedSetType"/> for the specified role.
/// </returns>
CollectionType [[#variable4bb3ddc0]](string role, string propertyRef, bool embedded, IComparer comparer);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4bb3de40]]
OrderedSet 
12[[#4bb3de40]]
IdBag 
21[[#4bb3df00]]
Map 
22[[#4bb3df00]]
Set 
31[[#4bb3dfe0]]
OrderedMap 
32[[#4bb3dfe0]]
OrderedSet 
41[[#4bb3ddc0]]
SortedMap 
42[[#4bb3ddc0]]
SortedSet