CloneSet256


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13520.976class_member_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11346
src/NHibernate/Criterion/Restrictions.cs
213144
src/NHibernate/Criterion/Restrictions.cs
314164
src/NHibernate/Criterion/Restrictions.cs
413185
src/NHibernate/Criterion/Restrictions.cs
513205
src/NHibernate/Criterion/Restrictions.cs
Clone Instance
1
Line Count
13
Source Line
46
Source File
src/NHibernate/Criterion/Restrictions.cs

                /// <summary>
                /// Apply an "equal" constraint to the named property
                /// </summary>
                /// <param name="propertyName">The name of the Property in the class.</param>
                /// <param name="value">The value for the Property.</param>
                public static SimpleExpression Eq(string propertyName, object value)
                {
                        return new SimpleExpression(propertyName, value, " = ");
                }

                /// <summary>
                /// Apply an "equal" constraint to the projection
                /// </summary>
                /// <param name="projection">The projection.</param>
                /// <param name="value">The value for the Property.</param>
                public static SimpleExpression Eq(IProjection projection, object value)
                {
                        return new SimpleExpression(projection, value, " = ");
                }



Clone Instance
2
Line Count
13
Source Line
144
Source File
src/NHibernate/Criterion/Restrictions.cs

                /// <summary>
                /// Apply a "greater than" constraint to the named property
                /// </summary>
                /// <param name="propertyName">The name of the Property in the class.</param>
                /// <param name="value">The value for the Property.</param>
                public static SimpleExpression Gt(string propertyName, object value)
                {
                        return new SimpleExpression(propertyName, value, " > ");
                }

                /// <summary>
                /// Apply a "greater than" constraint to the projection
                /// </summary>
                /// <param name="projection">The projection.</param>
                /// <param name="value">The value for the Property.</param>
                public static SimpleExpression Gt(IProjection projection, object value)
                {
                        return new SimpleExpression(projection, value, " > ");
                }



Clone Instance
3
Line Count
14
Source Line
164
Source File
src/NHibernate/Criterion/Restrictions.cs

                /// <summary>
                /// Apply a "less than" constraint to the named property
                /// </summary>
                /// <param name="propertyName">The name of the Property in the class.</param>
                /// <param name="value">The value for the Property.</param>
                public static SimpleExpression Lt(string propertyName, object value)
                {
                        return new SimpleExpression(propertyName, value, " < ");
                }


                /// <summary>
                /// Apply a "less than" constraint to the projection
                /// </summary>
                /// <param name="projection">The projection.</param>
                /// <param name="value">The value for the Property.</param>
                public static SimpleExpression Lt(IProjection projection, object value)
                {
                        return new SimpleExpression(projection, value, " < ");
                }



Clone Instance
4
Line Count
13
Source Line
185
Source File
src/NHibernate/Criterion/Restrictions.cs

                /// <summary>
                /// Apply a "less than or equal" constraint to the named property
                /// </summary>
                /// <param name="propertyName">The name of the Property in the class.</param>
                /// <param name="value">The value for the Property.</param>
                public static SimpleExpression Le(string propertyName, object value)
                {
                        return new SimpleExpression(propertyName, value, " <= ");
                }

                /// <summary>
                /// Apply a "less than or equal" constraint to the projection
                /// </summary>
                /// <param name="projection">The projection.</param>
                /// <param name="value">The value for the Property.</param>
                public static SimpleExpression Le(IProjection projection, object value)
                {
                        return new SimpleExpression(projection, value, " <= ");
                }



Clone Instance
5
Line Count
13
Source Line
205
Source File
src/NHibernate/Criterion/Restrictions.cs

                /// <summary>
                /// Apply a "greater than or equal" constraint to the named property
                /// </summary>
                /// <param name="propertyName">The name of the Property in the class.</param>
                /// <param name="value">The value for the Property.</param>
                public static SimpleExpression Ge(string propertyName, object value)
                {
                        return new SimpleExpression(propertyName, value, " >= ");
                }

                /// <summary>
                /// Apply a "greater than or equal" constraint to the projection
                /// </summary>
                /// <param name="projection">The projection.</param>
                /// <param name="value">The value for the Property.</param>
                public static SimpleExpression Ge(IProjection projection, object value)
                {
                        return new SimpleExpression(projection, value, " >= ");
                }



Clone AbstractionParameter Count: 2Parameter Bindings

/// <summary>
/// Apply a "greater than or equal" constraint to the named property
/// Apply a "less than or equal" constraint to the named property
/// Apply a "less than" constraint to the named property
/// Apply a "greater than" constraint to the named property
/// Apply an "equal" constraint to the named property
/// </summary>
/// <param name="propertyName">The name of the Property in the class.</param>
/// <param name="value">The value for the Property.</param>
public static SimpleExpression [[#variable26152ca0]](string propertyName, object value)
{
   return new SimpleExpression(propertyName, value, [[#variable70b7e320]]);
}

/// <summary>
/// Apply a "greater than or equal" constraint to the projection
/// Apply a "less than or equal" constraint to the projection
/// Apply a "less than" constraint to the projection
/// Apply a "greater than" constraint to the projection
/// Apply an "equal" constraint to the projection
/// </summary>
/// <param name="projection">The projection.</param>
/// <param name="value">The value for the Property.</param>
public static SimpleExpression [[#variable26152ca0]](IProjection projection, object value)
{
   return new SimpleExpression(projection, value, [[#variable70b7e320]]);
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#26152ca0]]
Ge 
12[[#26152ca0]]
Le 
13[[#26152ca0]]
Lt 
14[[#26152ca0]]
Gt 
15[[#26152ca0]]
Eq 
21[[#70b7e320]]
" >= " 
22[[#70b7e320]]
" <= " 
23[[#70b7e320]]
" < " 
24[[#70b7e320]]
" > " 
25[[#70b7e320]]
" = "