CloneSet1689


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3220.963class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1395
src/NHibernate/Criterion/Restrictions.cs
23100
src/NHibernate/Criterion/Restrictions.cs
Clone Instance
1
Line Count
3
Source Line
95
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>
                /// <param name="matchMode">The match mode.</param>
                /// <returns>A <see cref="LikeExpression"/>.</returns>
                public static SimpleExpression Like(IProjection projection, string value, MatchMode matchMode)
                {
                        return new SimpleExpression(projection, matchMode.ToMatchString(value), " like ");
                }



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

                public static SimpleExpression Like(string propertyName, string value, MatchMode matchMode)
                {
                        return new SimpleExpression(propertyName, matchMode.ToMatchString(value), " like ");
                }



Clone AbstractionParameter Count: 2Parameter Bindings

/// <summary>
/// Apply a "like" constraint to the project
/// </summary>
/// <param name="projection">The projection.</param>
/// <param name="value">The value for the Property.</param>
/// <param name="matchMode">The match mode.</param>
/// <returns>A <see cref="LikeExpression"/>.</returns>
public static SimpleExpression Like( [[#variable28f18780]] [[#variable28f18700]], string value, MatchMode matchMode)
{
   return new SimpleExpression( [[#variable28f18700]], matchMode.ToMatchString(value), " like ");
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#28f18780]]
string 
12[[#28f18780]]
IProjection 
21[[#28f18700]]
propertyName 
22[[#28f18700]]
projection