Assert.AssertAreNotSameInterpolatedStringHandler<TArgument> Konstruktor

Definice

Inicializuje novou instanci struktury Assert.AssertAreNotSameInterpolatedStringHandler<TArgument>.

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

Parametry

literalLength
Int32

Počet konstantních znaků v interpolovaném řetězci.

formattedCount
Int32

Počet interpolačních výrazů v interpolovaném řetězci.

notExpected
TArgument

Hodnota, která není očekávaná.

actual
TArgument

Skutečná hodnota, která se uplatňuje.

shouldAppend
Boolean

Když tato metoda vrátí, určuje, zda má být interpolovaný řetězec vyhodnocen.

Platí pro