ComparisonConstraint.Using Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Using(IComparer) |
Modifies the constraint to use an IComparer and returns self |
Using<T>(IComparer<T>) |
Modifies the constraint to use an IComparer<T> and returns self |
Using<T>(Comparison<T>) |
Modifies the constraint to use a Comparison<T> and returns self |
Using(IComparer)
Modifies the constraint to use an IComparer and returns self
public NUnit.Framework.Constraints.ComparisonConstraint Using (System.Collections.IComparer comparer);
member this.Using : System.Collections.IComparer -> NUnit.Framework.Constraints.ComparisonConstraint
Parameters
- comparer
- IComparer
Returns
Applies to
Using<T>(IComparer<T>)
Modifies the constraint to use an IComparer<T> and returns self
public NUnit.Framework.Constraints.ComparisonConstraint Using<T> (System.Collections.Generic.IComparer<T> comparer);
member this.Using : System.Collections.Generic.IComparer<'T> -> NUnit.Framework.Constraints.ComparisonConstraint
Type Parameters
- T
Parameters
- comparer
- IComparer<T>
Returns
Applies to
Using<T>(Comparison<T>)
Modifies the constraint to use a Comparison<T> and returns self
public NUnit.Framework.Constraints.ComparisonConstraint Using<T> (Comparison<T> comparer);
member this.Using : Comparison<'T> -> NUnit.Framework.Constraints.ComparisonConstraint
Type Parameters
- T
Parameters
- comparer
- Comparison<T>