Assert.AssertIsTrueInterpolatedStringHandler Struct
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Fornisce un gestore di stringhe interpolato utilizzato dagli Assert.IsTrue overload che alloca e formatta il messaggio solo quando l'asserzione ha esito negativo.
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public readonly struct Assert.AssertIsTrueInterpolatedStringHandler
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.Runtime.CompilerServices.InterpolatedStringHandler]
[System.Runtime.CompilerServices.IsReadOnly]
[System.Runtime.CompilerServices.Nullable(0)]
public readonly struct Assert.AssertIsTrueInterpolatedStringHandler
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.Runtime.CompilerServices.InterpolatedStringHandler]
[System.Runtime.CompilerServices.IsReadOnly]
[System.Runtime.CompilerServices.Nullable(0)]
[System.Diagnostics.StackTraceHidden]
public readonly struct Assert.AssertIsTrueInterpolatedStringHandler
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
type Assert.AssertIsTrueInterpolatedStringHandler = struct
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
[<System.Runtime.CompilerServices.InterpolatedStringHandler>]
[<System.Runtime.CompilerServices.IsReadOnly>]
[<System.Runtime.CompilerServices.Nullable(0)>]
type Assert.AssertIsTrueInterpolatedStringHandler = struct
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
[<System.Runtime.CompilerServices.InterpolatedStringHandler>]
[<System.Runtime.CompilerServices.IsReadOnly>]
[<System.Runtime.CompilerServices.Nullable(0)>]
[<System.Diagnostics.StackTraceHidden>]
type Assert.AssertIsTrueInterpolatedStringHandler = struct
Public Structure Assert.AssertIsTrueInterpolatedStringHandler
- Ereditarietà
-
Assert.AssertIsTrueInterpolatedStringHandler
- Attributi
Commenti
Questo tipo deve essere usato dal compilatore; gli utenti non devono farvi riferimento direttamente.
Costruttori
| Nome | Descrizione |
|---|---|
| Assert.AssertIsTrueInterpolatedStringHandler(Int32, Int32, Nullable<Boolean>, Boolean) |
Inizializza una nuova istanza dello struct Assert.AssertIsTrueInterpolatedStringHandler. |
Metodi
| Nome | Descrizione |
|---|---|
| AppendFormatted(Object, Int32, String) |
Fornisce un gestore di stringhe interpolato utilizzato dagli |
| AppendFormatted(ReadOnlySpan<Char>, Int32, String) |
Fornisce un gestore di stringhe interpolato utilizzato dagli |
| AppendFormatted(ReadOnlySpan<Char>) |
Fornisce un gestore di stringhe interpolato utilizzato dagli |
| AppendFormatted(String, Int32, String) |
Fornisce un gestore di stringhe interpolato utilizzato dagli |
| AppendFormatted(String) |
Fornisce un gestore di stringhe interpolato utilizzato dagli |
| AppendFormatted<T>(T, Int32, String) |
Fornisce un gestore di stringhe interpolato utilizzato dagli |
| AppendFormatted<T>(T, Int32) |
Fornisce un gestore di stringhe interpolato utilizzato dagli |
| AppendFormatted<T>(T, String) |
Fornisce un gestore di stringhe interpolato utilizzato dagli |
| AppendFormatted<T>(T) |
Fornisce un gestore di stringhe interpolato utilizzato dagli |
| AppendLiteral(String) |
Fornisce un gestore di stringhe interpolato utilizzato dagli |