CollectionItemsEqualConstraint.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) |
Flag the constraint to use the supplied IComparer object. |
Using(IEqualityComparer) |
Flag the constraint to use the supplied IEqualityComparer object. |
Using<T>(IComparer<T>) |
Flag the constraint to use the supplied IComparer object. |
Using<T>(IEqualityComparer<T>) |
Flag the constraint to use the supplied IEqualityComparer object. |
Using<T>(Comparison<T>) |
Flag the constraint to use the supplied Comparison object. |
Using(IComparer)
Flag the constraint to use the supplied IComparer object.
public NUnit.Framework.Constraints.CollectionItemsEqualConstraint Using (System.Collections.IComparer comparer);
member this.Using : System.Collections.IComparer -> NUnit.Framework.Constraints.CollectionItemsEqualConstraint
Parameters
- comparer
- IComparer
The IComparer object to use.
Returns
Self.
Applies to
Using(IEqualityComparer)
Flag the constraint to use the supplied IEqualityComparer object.
public NUnit.Framework.Constraints.CollectionItemsEqualConstraint Using (System.Collections.IEqualityComparer comparer);
member this.Using : System.Collections.IEqualityComparer -> NUnit.Framework.Constraints.CollectionItemsEqualConstraint
Parameters
- comparer
- IEqualityComparer
The IComparer object to use.
Returns
Self.
Applies to
Using<T>(IComparer<T>)
Flag the constraint to use the supplied IComparer object.
public NUnit.Framework.Constraints.CollectionItemsEqualConstraint Using<T> (System.Collections.Generic.IComparer<T> comparer);
member this.Using : System.Collections.Generic.IComparer<'T> -> NUnit.Framework.Constraints.CollectionItemsEqualConstraint
Type Parameters
- T
Parameters
- comparer
- IComparer<T>
The IComparer object to use.
Returns
Self.
Applies to
Using<T>(IEqualityComparer<T>)
Flag the constraint to use the supplied IEqualityComparer object.
public NUnit.Framework.Constraints.CollectionItemsEqualConstraint Using<T> (System.Collections.Generic.IEqualityComparer<T> comparer);
member this.Using : System.Collections.Generic.IEqualityComparer<'T> -> NUnit.Framework.Constraints.CollectionItemsEqualConstraint
Type Parameters
- T
Parameters
- comparer
- IEqualityComparer<T>
The IComparer object to use.
Returns
Self.
Applies to
Using<T>(Comparison<T>)
Flag the constraint to use the supplied Comparison object.
public NUnit.Framework.Constraints.CollectionItemsEqualConstraint Using<T> (Comparison<T> comparer);
member this.Using : Comparison<'T> -> NUnit.Framework.Constraints.CollectionItemsEqualConstraint
Type Parameters
- T
Parameters
- comparer
- Comparison<T>
The IComparer object to use.
Returns
Self.