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

Definice

Vytvoří instanci obslužné rutiny.

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

Počet konstantních znaků mimo interpolační výrazy v interpolovaném řetězci.

formattedCount
Int32

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

condition
Boolean

Logická podmínka předána metodě Debug .

shouldAppend
Boolean

Hodnota označující, jestli má formátování pokračovat.

Poznámky

To je určeno pouze kódem vygenerovaným kompilátorem. Argumenty se neověřují, protože jinak by měly být členy určené k přímému použití.

Platí pro