| 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.952 | class_member_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 3 | 406 | src/NHibernate/Criterion/Restrictions.cs |
| 2 | 3 | 417 | src/NHibernate/Criterion/Restrictions.cs |
| ||||
/// <summary>
/// Apply an "not 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 NotEqProperty(string propertyName, string otherPropertyName)
{
return new NotExpression(new EqPropertyExpression(propertyName, otherPropertyName));
}
|
| ||||
/// <summary>
/// Apply an "not 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 NotEqProperty(IProjection projection, string otherPropertyName)
{
return new NotExpression(new EqPropertyExpression(projection, otherPropertyName));
}
|
| |||
/// <summary>
/// Apply an "not equal" constraint to projection and property
/// Apply an "not equal" constraint to two properties
/// </summary>
/// <param name="projection">The projection.</param>
/// <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 NotEqProperty( [[#variable6fe075e0]] [[#variable6fe07560]], string otherPropertyName)
{
return new NotExpression(new EqPropertyExpression( [[#variable6fe07560]], otherPropertyName));
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#6fe075e0]] | IProjection |
| 1 | 2 | [[#6fe075e0]] | string |
| 2 | 1 | [[#6fe07560]] | projection |
| 2 | 2 | [[#6fe07560]] | propertyName |