Debug.AssertInterpolatedStringHandler(Int32, Int32, Boolean, Boolean) Konstruktor

Definicja

Tworzy wystąpienie programu obsługi.

public:
 AssertInterpolatedStringHandler(int literalLength, int formattedCount, bool condition, [Runtime::InteropServices::Out] bool % shouldAppend);
public AssertInterpolatedStringHandler (int literalLength, int formattedCount, bool condition, out bool shouldAppend);
new System.Diagnostics.Debug.AssertInterpolatedStringHandler : int * int * bool * bool -> System.Diagnostics.Debug.AssertInterpolatedStringHandler
Public Sub New (literalLength As Integer, formattedCount As Integer, condition As Boolean, ByRef shouldAppend As Boolean)

Parametry

literalLength
Int32

Liczba stałych znaków poza wyrażeniami interpolacji w ciągu interpolowanym.

formattedCount
Int32

Liczba wyrażeń interpolacji w ciągu interpolowanym.

condition
Boolean

Warunek wartość logiczna przekazana Debug do metody .

shouldAppend
Boolean

Wartość wskazująca, czy formatowanie powinno być kontynuowane.

Uwagi

Jest to przeznaczone do wywoływania tylko przez kod wygenerowany przez kompilator. Argumenty nie są weryfikowane, ponieważ w przeciwnym razie mają być używane bezpośrednio dla elementów członkowskich.

Dotyczy