Debug.WriteIfInterpolatedStringHandler Struct

Definizione

Fornisce un gestore di stringhe interpolato per WriteIf(Boolean, String) e WriteLineIf(Boolean, Object) che esegue la formattazione solo se si applica la condizione.

public: value class Debug::WriteIfInterpolatedStringHandler
public struct Debug.WriteIfInterpolatedStringHandler
type Debug.WriteIfInterpolatedStringHandler = struct
Public Structure Debug.WriteIfInterpolatedStringHandler
Ereditarietà
Debug.WriteIfInterpolatedStringHandler

Costruttori

Debug.WriteIfInterpolatedStringHandler(Int32, Int32, Boolean, Boolean)

Crea un'istanza del gestore.

Metodi

AppendFormatted(Object, Int32, String)

Scrive il valore specificato nel gestore.

AppendFormatted(ReadOnlySpan<Char>)

Scrive l'intervallo di caratteri specificato nel gestore.

AppendFormatted(ReadOnlySpan<Char>, Int32, String)

Scrive la stringa specificata di caratteri nel gestore.

AppendFormatted(String)

Scrive il valore specificato nel gestore.

AppendFormatted(String, Int32, String)

Scrive il valore specificato nel gestore.

AppendFormatted<T>(T)

Scrive il valore specificato nel gestore.

AppendFormatted<T>(T, Int32)

Scrive il valore specificato nel gestore.

AppendFormatted<T>(T, Int32, String)

Scrive il valore specificato nel gestore.

AppendFormatted<T>(T, String)

Scrive il valore specificato nel gestore.

AppendLiteral(String)

Scrive la stringa specificata nel gestore.

Si applica a