Partager via


EqualityAdapter.For Méthode

Définition

Surcharges

For(IComparer)

Retourne un equalityAdapter qui encapsule un IComparer.

For(IEqualityComparer)

Retourne un EqualityAdapter qui encapsule un IEqualityComparer.

For<T>(IComparer<T>)

Retourne un EqualityAdapter qui encapsule un IComparer<T>.

For<T>(IEqualityComparer<T>)

Retourne un EqualityAdapter qui encapsule un IEqualityComparer<T>.

For<T>(Comparison<T>)

Retourne un EqualityAdapter qui encapsule un T> de comparaison<.

For(IComparer)

Retourne un equalityAdapter qui encapsule un IComparer.

public static NUnit.Framework.Constraints.EqualityAdapter For (System.Collections.IComparer comparer);
static member For : System.Collections.IComparer -> NUnit.Framework.Constraints.EqualityAdapter

Paramètres

comparer
IComparer

Retours

S’applique à

For(IEqualityComparer)

Retourne un EqualityAdapter qui encapsule un IEqualityComparer.

public static NUnit.Framework.Constraints.EqualityAdapter For (System.Collections.IEqualityComparer comparer);
static member For : System.Collections.IEqualityComparer -> NUnit.Framework.Constraints.EqualityAdapter

Paramètres

Retours

S’applique à

For<T>(IComparer<T>)

Retourne un EqualityAdapter qui encapsule un IComparer<T>.

public static NUnit.Framework.Constraints.EqualityAdapter For<T> (System.Collections.Generic.IComparer<T> comparer);
static member For : System.Collections.Generic.IComparer<'T> -> NUnit.Framework.Constraints.EqualityAdapter

Paramètres de type

T

Paramètres

comparer
IComparer<T>

Retours

S’applique à

For<T>(IEqualityComparer<T>)

Retourne un EqualityAdapter qui encapsule un IEqualityComparer<T>.

public static NUnit.Framework.Constraints.EqualityAdapter For<T> (System.Collections.Generic.IEqualityComparer<T> comparer);
static member For : System.Collections.Generic.IEqualityComparer<'T> -> NUnit.Framework.Constraints.EqualityAdapter

Paramètres de type

T

Paramètres

comparer
IEqualityComparer<T>

Retours

S’applique à

For<T>(Comparison<T>)

Retourne un EqualityAdapter qui encapsule un T> de comparaison<.

public static NUnit.Framework.Constraints.EqualityAdapter For<T> (Comparison<T> comparer);
static member For : Comparison<'T> -> NUnit.Framework.Constraints.EqualityAdapter

Paramètres de type

T

Paramètres

comparer
Comparison<T>

Retours

S’applique à