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.972 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 371 | src/NHibernate/Criterion/Restrictions.cs |
2 | 3 | 516 | src/NHibernate/Criterion/Restrictions.cs |
| ||||
/// <summary> /// Apply an "equal" constraint to projection and property /// </summary> /// <param name="projection">The projection.</param> /// <param name="otherPropertyName">The rhs Property Name</param> /// <returns>A <see cref="EqPropertyExpression"/> .</returns> public static AbstractCriterion EqProperty(IProjection projection, string otherPropertyName) { return new EqPropertyExpression(projection, otherPropertyName); } |
| ||||
/// <summary> /// Apply a "greater 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 GeProperty(IProjection projection, string otherPropertyName) { return new GePropertyExpression(projection, otherPropertyName); } |
| |||
/// <summary> /// Apply an "equal" constraint to projection and property /// Apply a "greater 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="EqPropertyExpression"/> .</returns> /// <returns>A <see cref="LePropertyExpression"/> .</returns> public static AbstractCriterion [[#variable6fec6dc0]](IProjection projection, string otherPropertyName) { return new [[#variable6fec6d40]](projection, otherPropertyName); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6fec6dc0]] | EqProperty |
1 | 2 | [[#6fec6dc0]] | GeProperty |
2 | 1 | [[#6fec6d40]] | EqPropertyExpression |
2 | 2 | [[#6fec6d40]] | GePropertyExpression |