| 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.971 | class_member_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 3 | 360 | src/NHibernate/Criterion/Restrictions.cs |
| 2 | 3 | 494 | src/NHibernate/Criterion/Restrictions.cs |
| ||||
/// <summary>
/// Apply an "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="EqPropertyExpression"/> .</returns>
public static AbstractCriterion EqProperty(string propertyName, string otherPropertyName)
{
return new EqPropertyExpression(propertyName, otherPropertyName);
}
|
| ||||
/// <summary>
/// Apply a "greater 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 GeProperty(string propertyName, string otherPropertyName)
{
return new GePropertyExpression(propertyName, otherPropertyName);
}
|
| |||
/// <summary>
/// Apply an "equal" constraint to two properties
/// Apply a "greater 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="EqPropertyExpression"/> .</returns>
/// <returns>A <see cref="LePropertyExpression"/> .</returns>
public static AbstractCriterion [[#variable583faee0]](string propertyName, string otherPropertyName)
{
return new [[#variable583fae80]](propertyName, otherPropertyName);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#583faee0]] | EqProperty |
| 1 | 2 | [[#583faee0]] | GeProperty |
| 2 | 1 | [[#583fae80]] | EqPropertyExpression |
| 2 | 2 | [[#583fae80]] | GePropertyExpression |