CloneSet813


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13320.969class_member_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11393
src/NHibernate/Criterion/Projections.cs
213114
src/NHibernate/Criterion/Projections.cs
313154
src/NHibernate/Criterion/Projections.cs
Clone Instance
1
Line Count
13
Source Line
93
Source File
src/NHibernate/Criterion/Projections.cs

                /// <summary>
                /// A property maximum value
                /// </summary>
                /// <param name="propertyName"></param>
                /// <returns></returns>
                public static AggregateProjection Max(String propertyName)
                {
                        return new AggregateProjection("max", propertyName);
                }

                /// <summary>
                /// A projection maximum value
                /// </summary>
                /// <param name="projection"></param>
                /// <returns></returns>
                public static AggregateProjection Max(IProjection projection)
                {
                        return new AggregateProjection("max", projection);
                }



Clone Instance
2
Line Count
13
Source Line
114
Source File
src/NHibernate/Criterion/Projections.cs

                /// <summary>
                /// A property minimum value
                /// </summary>
                /// <param name="propertyName"></param>
                /// <returns></returns>
                public static AggregateProjection Min(String propertyName)
                {
                        return new AggregateProjection("min", propertyName);
                }

                /// <summary>
                /// A projection minimum value
                /// </summary>
                /// <param name="projection"></param>
                /// <returns></returns>
                public static AggregateProjection Min(IProjection projection)
                {
                        return new AggregateProjection("min", projection);
                }



Clone Instance
3
Line Count
13
Source Line
154
Source File
src/NHibernate/Criterion/Projections.cs

                /// <summary>
                /// A property value sum
                /// </summary>
                /// <param name="propertyName"></param>
                /// <returns></returns>
                public static AggregateProjection Sum(String propertyName)
                {
                        return new AggregateProjection("sum", propertyName);
                }

                /// <summary>
                /// A property value sum
                /// </summary>
                /// <param name="projection"></param>
                /// <returns></returns>
                public static AggregateProjection Sum(IProjection projection)
                {
                        return new AggregateProjection("sum", projection);
                }



Clone AbstractionParameter Count: 2Parameter Bindings

/// <summary>
/// A property maximum value
/// A property minimum value
/// A property value sum
/// </summary>
/// <param name="propertyName"></param>
/// <returns></returns>
public static AggregateProjection [[#variable54b59820]](String propertyName)
{
   return new AggregateProjection( [[#variable298fce00]], propertyName);
}

/// <summary>
/// A projection maximum value
/// A projection minimum value
/// A property value sum
/// </summary>
/// <param name="projection"></param>
/// <returns></returns>
public static AggregateProjection [[#variable54b59820]](IProjection projection)
{
   return new AggregateProjection( [[#variable298fce00]], projection);
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#54b59820]]
Max 
12[[#54b59820]]
Min 
13[[#54b59820]]
Sum 
21[[#298fce00]]
"max" 
22[[#298fce00]]
"min" 
23[[#298fce00]]
"sum"