Assert.AssertAreNotEqualInterpolatedStringHandler<TArgument> Costruttori

Definizione

Overload

Assert.AssertAreNotEqualInterpolatedStringHandler<TArgument>(Int32, Int32, TArgument, TArgument, Boolean)

Origine:
Assert.AreEqual.cs
Origine:
Assert.AreEqual.cs
Origine:
Assert.AreEqual.cs
Origine:
Assert.AreEqual.cs
Origine:
Assert.AreEqual.cs
Origine:
Assert.AreEqual.cs
Origine:
Assert.AreEqual.cs
Origine:
Assert.AreEqual.InterpolatedStringHandlers.cs

Inizializza una nuova istanza dello struct Assert.AssertAreNotEqualInterpolatedStringHandler<TArgument>.

public AssertAreNotEqualInterpolatedStringHandler(int literalLength, int formattedCount, TArgument notExpected, TArgument actual, out bool shouldAppend);
public AssertAreNotEqualInterpolatedStringHandler(int literalLength, int formattedCount, TArgument? notExpected, TArgument? actual, out bool shouldAppend);
new Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertAreNotEqualInterpolatedStringHandler<'Argument> : int * int * 'Argument * 'Argument * bool -> Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertAreNotEqualInterpolatedStringHandler<'Argument>
Public Sub New (literalLength As Integer, formattedCount As Integer, notExpected As TArgument, actual As TArgument, ByRef shouldAppend As Boolean)

Parametri

literalLength
Int32

Numero di caratteri costanti nella stringa interpolata.

formattedCount
Int32

Numero di espressioni di interpolazione nella stringa interpolata.

notExpected
TArgument

Valore non previsto.

actual
TArgument

Valore effettivo asserito.

shouldAppend
Boolean

Quando termina, questo metodo indica se la stringa interpolata deve essere valutata.

Si applica a

Assert.AssertAreNotEqualInterpolatedStringHandler<TArgument>(Int32, Int32, TArgument, TArgument, IEqualityComparer<TArgument>, Boolean)

Origine:
Assert.AreEqual.cs
Origine:
Assert.AreEqual.cs
Origine:
Assert.AreEqual.cs
Origine:
Assert.AreEqual.cs
Origine:
Assert.AreEqual.cs
Origine:
Assert.AreEqual.cs
Origine:
Assert.AreEqual.cs
Origine:
Assert.AreEqual.InterpolatedStringHandlers.cs

Inizializza una nuova istanza dello struct Assert.AssertAreNotEqualInterpolatedStringHandler<TArgument>.

public AssertAreNotEqualInterpolatedStringHandler(int literalLength, int formattedCount, TArgument notExpected, TArgument actual, System.Collections.Generic.IEqualityComparer<TArgument>? comparer, out bool shouldAppend);
public AssertAreNotEqualInterpolatedStringHandler(int literalLength, int formattedCount, TArgument? notExpected, TArgument? actual, System.Collections.Generic.IEqualityComparer<TArgument>? comparer, out bool shouldAppend);
new Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertAreNotEqualInterpolatedStringHandler<'Argument> : int * int * 'Argument * 'Argument * System.Collections.Generic.IEqualityComparer<'Argument> * bool -> Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertAreNotEqualInterpolatedStringHandler<'Argument>
Public Sub New (literalLength As Integer, formattedCount As Integer, notExpected As TArgument, actual As TArgument, comparer As IEqualityComparer(Of TArgument), ByRef shouldAppend As Boolean)

Parametri

literalLength
Int32

Numero di caratteri costanti nella stringa interpolata.

formattedCount
Int32

Numero di espressioni di interpolazione nella stringa interpolata.

notExpected
TArgument

Valore non previsto.

actual
TArgument

Valore effettivo asserito.

comparer
IEqualityComparer<TArgument>

Operatore di confronto di uguaglianza utilizzato per confrontare i valori.

shouldAppend
Boolean

Quando termina, questo metodo indica se la stringa interpolata deve essere valutata.

Si applica a