Assert.AssertIsNotNullInterpolatedStringHandler Konstruktor

Definice

Inicializuje novou instanci struktury Assert.AssertIsNotNullInterpolatedStringHandler.

public AssertIsNotNullInterpolatedStringHandler(int literalLength, int formattedCount, object value, out bool shouldAppend);
public AssertIsNotNullInterpolatedStringHandler(int literalLength, int formattedCount, object? value, out bool shouldAppend);
new Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertIsNotNullInterpolatedStringHandler : int * int * obj * bool -> Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertIsNotNullInterpolatedStringHandler
Public Sub New (literalLength As Integer, formattedCount As Integer, value As Object, 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.

value
Object

Hodnota, která se uplatňuje; zpráva se vypočítá pouze v případě, že kontrolní výraz selže.

shouldAppend
Boolean

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

Platí pro