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.953 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 428 | src/NHibernate/Criterion/Restrictions.cs |
2 | 3 | 439 | src/NHibernate/Criterion/Restrictions.cs |
| ||||
/// <summary> /// Apply an "not equal" constraint to the projections /// </summary> /// <param name="lhsProjection">The LHS projection.</param> /// <param name="rhsProjection">The RHS projection.</param> /// <returns>A <see cref="EqPropertyExpression"/> .</returns> public static AbstractCriterion NotEqProperty(IProjection lhsProjection, IProjection rhsProjection) { return new NotExpression(new EqPropertyExpression(lhsProjection, rhsProjection)); } |
| ||||
/// <summary> /// Apply an "not equal" constraint to the projections /// </summary> /// <param name="propertyName">Name of the property.</param> /// <param name="rhsProjection">The RHS projection.</param> /// <returns>A <see cref="EqPropertyExpression"/> .</returns> public static AbstractCriterion NotEqProperty(string propertyName, IProjection rhsProjection) { return new NotExpression(new EqPropertyExpression(propertyName, rhsProjection)); } |
| |||
/// <summary> /// Apply an "not equal" constraint to the projections /// </summary> /// <param name="propertyName">Name of the property.</param> /// <param name="lhsProjection">The LHS projection.</param> /// <param name="rhsProjection">The RHS projection.</param> /// <returns>A <see cref="EqPropertyExpression"/> .</returns> public static AbstractCriterion NotEqProperty( [[#variable6c2ed240]] [[#variable6c2ed1c0]], IProjection rhsProjection) { return new NotExpression(new EqPropertyExpression( [[#variable6c2ed1c0]], rhsProjection)); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6c2ed240]] | string |
1 | 2 | [[#6c2ed240]] | IProjection |
2 | 1 | [[#6c2ed1c0]] | propertyName |
2 | 2 | [[#6c2ed1c0]] | lhsProjection |