| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 3 | 2 | 2 | 0.956 | class_member_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 3 | 228 | src/NHibernate/Criterion/Restrictions.cs |
| 2 | 3 | 240 | src/NHibernate/Criterion/Restrictions.cs |
| ||||
/// <summary>
/// Apply a "between" constraint to the named property
/// </summary>
/// <param name="propertyName">The name of the Property in the class.</param>
/// <param name="lo">The low value for the Property.</param>
/// <param name="hi">The high value for the Property.</param>
/// <returns>A <see cref="BetweenExpression" />.</returns>
public static AbstractCriterion Between(string propertyName, object lo, object hi)
{
return new BetweenExpression(propertyName, lo, hi);
}
|
| ||||
/// <summary>
/// Apply a "between" constraint to the projection
/// </summary>
/// <param name="projection">The projection.</param>
/// <param name="lo">The low value for the Property.</param>
/// <param name="hi">The high value for the Property.</param>
/// <returns>A <see cref="BetweenExpression"/>.</returns>
public static AbstractCriterion Between(IProjection projection, object lo, object hi)
{
return new BetweenExpression(projection, lo, hi);
}
|
| |||
/// <summary>
/// Apply a "between" constraint to the projection
/// Apply a "between" 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="lo">The low value for the Property.</param>
/// <param name="hi">The high value for the Property.</param>
/// <returns>A <see cref="BetweenExpression"/>.</returns>
/// <returns>A <see cref="BetweenExpression" />.</returns>
public static AbstractCriterion Between( [[#variable5eb997c0]] [[#variable5eb99740]], object lo, object hi)
{
return new BetweenExpression( [[#variable5eb99740]], lo, hi);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#5eb997c0]] | IProjection |
| 1 | 2 | [[#5eb997c0]] | string |
| 2 | 1 | [[#5eb99740]] | projection |
| 2 | 2 | [[#5eb99740]] | propertyName |