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

Podmínka Logická hodnota předaná Debug metodě.

shouldAppend
Boolean

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

Poznámky

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

Platí pro