CloneSet2270


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

                /// <summary>
                /// Apply a "like" 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>
                /// <returns>A <see cref="LikeExpression" />.</returns>
                public static SimpleExpression Like(string propertyName, object value)
                {
                        return new SimpleExpression(propertyName, value, " like ");
                }



Clone Instance
2
Line Count
3
Source Line
83
Source File
src/NHibernate/Criterion/Restrictions.cs

                /// <summary>
                /// Apply a "like" constraint to the project
                /// </summary>
                /// <param name="projection">The projection.</param>
                /// <param name="value">The value for the Property.</param>
                /// <returns>A <see cref="LikeExpression"/>.</returns>
                public static SimpleExpression Like(IProjection projection, object value)
                {
                        return new SimpleExpression(projection, value, " like ");
                }



Clone AbstractionParameter Count: 2Parameter Bindings

/// <summary>
/// Apply a "like" constraint to the project
/// Apply a "like" constraint to the named property
/// </summary>
/// <param name="projection">The projection.</param>
/// <param name="propertyName">The name of the Property in the class.</param>
/// <param name="value">The value for the Property.</param>
/// <returns>A <see cref="LikeExpression"/>.</returns>
/// <returns>A <see cref="LikeExpression" />.</returns>
public static SimpleExpression Like( [[#variable5539a5a0]] [[#variable5539a500]], object value)
{
   return new SimpleExpression( [[#variable5539a500]], value, " like ");
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5539a5a0]]
IProjection 
12[[#5539a5a0]]
string 
21[[#5539a500]]
projection 
22[[#5539a500]]
propertyName