| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 39 | 3 | 2 | 0.972 | class_member_declarations[4] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 36 | 450 | src/NHibernate/Criterion/Restrictions.cs |
| 2 | 36 | 539 | src/NHibernate/Criterion/Restrictions.cs |
| 3 | 39 | 583 | src/NHibernate/Criterion/Restrictions.cs |
| ||||
/// <summary>
/// Apply a "greater than" constraint to two properties
/// </summary>
/// <param name="propertyName">The lhs Property Name</param>
/// <param name="otherPropertyName">The rhs Property Name</param>
/// <returns>A <see cref="LtPropertyExpression"/> .</returns>
public static AbstractCriterion GtProperty(string propertyName, string otherPropertyName)
{
return new GtPropertyExpression(propertyName, otherPropertyName);
}
/// <summary>
/// Apply a "greater than" constraint to two properties
/// </summary>
/// <param name="projection">The projection.</param>
/// <param name="otherPropertyName">The rhs Property Name</param>
/// <returns>A <see cref="LtPropertyExpression"/> .</returns>
public static AbstractCriterion GtProperty(IProjection projection, string otherPropertyName)
{
return new GtPropertyExpression(projection, otherPropertyName);
}
/// <summary>
/// Apply a "greater than" constraint to two properties
/// </summary>
/// <param name="propertyName">Name of the property.</param>
/// <param name="projection">The projection.</param>
/// <returns>A <see cref="LtPropertyExpression"/> .</returns>
public static AbstractCriterion GtProperty(string propertyName, IProjection projection)
{
return new GtPropertyExpression(propertyName, projection);
}
/// <summary>
/// Apply a "greater than" constraint to two properties
/// </summary>
/// <param name="lhsProjection">The LHS projection.</param>
/// <param name="rhsProjection">The RHS projection.</param>
/// <returns>A <see cref="LtPropertyExpression"/> .</returns>
public static AbstractCriterion GtProperty(IProjection lhsProjection, IProjection rhsProjection)
{
return new GtPropertyExpression(lhsProjection, rhsProjection);
}
|
| ||||
/// <summary>
/// Apply a "less than" constraint to two properties
/// </summary>
/// <param name="propertyName">The lhs Property Name</param>
/// <param name="otherPropertyName">The rhs Property Name</param>
/// <returns>A <see cref="LtPropertyExpression"/> .</returns>
public static AbstractCriterion LtProperty(string propertyName, string otherPropertyName)
{
return new LtPropertyExpression(propertyName, otherPropertyName);
}
/// <summary>
/// Apply a "less than" constraint to two properties
/// </summary>
/// <param name="projection">The projection.</param>
/// <param name="otherPropertyName">The rhs Property Name</param>
/// <returns>A <see cref="LtPropertyExpression"/> .</returns>
public static AbstractCriterion LtProperty(IProjection projection, string otherPropertyName)
{
return new LtPropertyExpression(projection, otherPropertyName);
}
/// <summary>
/// Apply a "less than" constraint to two properties
/// </summary>
/// <param name="propertyName">The lhs Property Name</param>
/// <param name="projection">The projection.</param>
/// <returns>A <see cref="LtPropertyExpression"/> .</returns>
public static AbstractCriterion LtProperty(string propertyName, IProjection projection)
{
return new LtPropertyExpression(propertyName, projection);
}
/// <summary>
/// Apply a "less than" constraint to two properties
/// </summary>
/// <param name="lhsProjection">The LHS projection.</param>
/// <param name="rhsProjection">The RHS projection.</param>
/// <returns>A <see cref="LtPropertyExpression"/> .</returns>
public static AbstractCriterion LtProperty(IProjection lhsProjection, IProjection rhsProjection)
{
return new LtPropertyExpression(lhsProjection, rhsProjection);
}
|
| ||||
/// <summary>
/// Apply a "less than or equal" constraint to two properties
/// </summary>
/// <param name="propertyName">The lhs Property Name</param>
/// <param name="otherPropertyName">The rhs Property Name</param>
/// <returns>A <see cref="LePropertyExpression"/> .</returns>
public static AbstractCriterion LeProperty(string propertyName, string otherPropertyName)
{
return new LePropertyExpression(propertyName, otherPropertyName);
}
/// <summary>
/// Apply a "less than or equal" constraint to two properties
/// </summary>
/// <param name="projection">The projection.</param>
/// <param name="otherPropertyName">The rhs Property Name</param>
/// <returns>A <see cref="LePropertyExpression"/> .</returns>
public static AbstractCriterion LeProperty(IProjection projection, string otherPropertyName)
{
return new LePropertyExpression(projection, otherPropertyName);
}
/// <summary>
/// Apply a "less than or equal" constraint to two properties
/// </summary>
/// <param name="propertyName">The lhs Property Name</param>
/// <param name="projection">The projection.</param>
/// <returns>A <see cref="LePropertyExpression"/> .</returns>
public static AbstractCriterion LeProperty(string propertyName, IProjection projection)
{
return new LePropertyExpression(propertyName, projection);
}
/// <summary>
/// Apply a "less than or equal" constraint to two properties
/// </summary>
/// <param name="lhsProjection">The LHS projection.</param>
/// <param name="rhsProjection">The RHS projection.</param>
/// <returns>A <see cref="LePropertyExpression"/> .</returns>
public static AbstractCriterion LeProperty(IProjection lhsProjection, IProjection rhsProjection)
{
return new LePropertyExpression(lhsProjection, rhsProjection);
}
|
| |||
/// <summary>
/// Apply a "less than or equal" constraint to two properties
/// Apply a "less than" constraint to two properties
/// Apply a "greater than" constraint to two properties
/// </summary>
/// <param name="propertyName">The lhs Property Name</param>
/// <param name="otherPropertyName">The rhs Property Name</param>
/// <returns>A <see cref="LePropertyExpression"/> .</returns>
/// <returns>A <see cref="LtPropertyExpression"/> .</returns>
public static AbstractCriterion [[#variable70ac0d80]](string propertyName, string otherPropertyName)
{
return new [[#variable6e6145c0]](propertyName, otherPropertyName);
}
/// <summary>
/// Apply a "less than or equal" constraint to two properties
/// Apply a "less than" constraint to two properties
/// Apply a "greater than" constraint to two properties
/// </summary>
/// <param name="projection">The projection.</param>
/// <param name="otherPropertyName">The rhs Property Name</param>
/// <returns>A <see cref="LePropertyExpression"/> .</returns>
/// <returns>A <see cref="LtPropertyExpression"/> .</returns>
public static AbstractCriterion [[#variable70ac0d80]](IProjection projection, string otherPropertyName)
{
return new [[#variable6e6145c0]](projection, otherPropertyName);
}
/// <summary>
/// Apply a "less than or equal" constraint to two properties
/// Apply a "less than" constraint to two properties
/// Apply a "greater than" constraint to two properties
/// </summary>
/// <param name="propertyName">The lhs Property Name</param>
/// <param name="propertyName">Name of the property.</param>
/// <param name="projection">The projection.</param>
/// <returns>A <see cref="LePropertyExpression"/> .</returns>
/// <returns>A <see cref="LtPropertyExpression"/> .</returns>
public static AbstractCriterion [[#variable70ac0d80]](string propertyName, IProjection projection)
{
return new [[#variable6e6145c0]](propertyName, projection);
}
/// <summary>
/// Apply a "less than or equal" constraint to two properties
/// Apply a "less than" constraint to two properties
/// Apply a "greater than" constraint to two properties
/// </summary>
/// <param name="lhsProjection">The LHS projection.</param>
/// <param name="rhsProjection">The RHS projection.</param>
/// <returns>A <see cref="LePropertyExpression"/> .</returns>
/// <returns>A <see cref="LtPropertyExpression"/> .</returns>
public static AbstractCriterion [[#variable70ac0d80]](IProjection lhsProjection, IProjection rhsProjection)
{
return new [[#variable6e6145c0]](lhsProjection, rhsProjection);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#70ac0d80]] | LeProperty |
| 1 | 2 | [[#70ac0d80]] | LtProperty |
| 1 | 3 | [[#70ac0d80]] | GtProperty |
| 2 | 1 | [[#6e6145c0]] | LePropertyExpression |
| 2 | 2 | [[#6e6145c0]] | LtPropertyExpression |
| 2 | 3 | [[#6e6145c0]] | GtPropertyExpression |