CloneSet1200


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.973class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15273
src/NHibernate/Criterion/Restrictions.cs
25286
src/NHibernate/Criterion/Restrictions.cs
Clone Instance
1
Line Count
5
Source Line
273
Source File
src/NHibernate/Criterion/Restrictions.cs

                /// <summary>
                /// Apply an "in" constraint to the projection
                /// </summary>
                /// <param name="projection">The projection.</param>
                /// <param name="values">An ICollection of values.</param>
                /// <returns>An <see cref="InExpression"/>.</returns>
                public static AbstractCriterion In(IProjection projection, ICollection values)
                {
                        object[] ary = new object[values.Count];
                        values.CopyTo(ary, 0);
                        return new InExpression(projection, ary);
                }



Clone Instance
2
Line Count
5
Source Line
286
Source File
src/NHibernate/Criterion/Restrictions.cs

                /// <summary>
                /// Apply an "in" constraint to the named property
                /// </summary>
                /// <param name="propertyName">The name of the Property in the class.</param>
                /// <param name="values">An ICollection of values.</param>
                /// <returns>An <see cref="InExpression" />.</returns>
                public static AbstractCriterion In(string propertyName, ICollection values)
                {
                        object[] ary = new object[values.Count];
                        values.CopyTo(ary, 0);
                        return new InExpression(propertyName, ary);
                }



Clone AbstractionParameter Count: 2Parameter Bindings

/// <summary>
/// Apply an "in" constraint to the named property
/// Apply an "in" constraint to the projection
/// </summary>
/// <param name="propertyName">The name of the Property in the class.</param>
/// <param name="projection">The projection.</param>
/// <param name="values">An ICollection of values.</param>
/// <returns>An <see cref="InExpression" />.</returns>
/// <returns>An <see cref="InExpression"/>.</returns>
public static AbstractCriterion In( [[#variable2d2a7320]] [[#variable2d2a7300]], ICollection values)
{
   object[] ary = new object[values.Count];
   values.CopyTo(ary, 0);
   return new InExpression( [[#variable2d2a7300]], ary);
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2d2a7320]]
string 
12[[#2d2a7320]]
IProjection 
21[[#2d2a7300]]
propertyName 
22[[#2d2a7300]]
projection