Assert.AssertIsNotNullInterpolatedStringHandler 结构
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
提供重载使用的 Assert.IsNotNull 内插字符串处理程序,该处理程序仅在断言失败时分配消息并设置消息格式。
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public readonly struct Assert.AssertIsNotNullInterpolatedStringHandler
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.Runtime.CompilerServices.InterpolatedStringHandler]
[System.Runtime.CompilerServices.IsReadOnly]
[System.Runtime.CompilerServices.Nullable(0)]
public readonly struct Assert.AssertIsNotNullInterpolatedStringHandler
[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.AssertIsNotNullInterpolatedStringHandler
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
type Assert.AssertIsNotNullInterpolatedStringHandler = struct
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
[<System.Runtime.CompilerServices.InterpolatedStringHandler>]
[<System.Runtime.CompilerServices.IsReadOnly>]
[<System.Runtime.CompilerServices.Nullable(0)>]
type Assert.AssertIsNotNullInterpolatedStringHandler = 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.AssertIsNotNullInterpolatedStringHandler = struct
Public Structure Assert.AssertIsNotNullInterpolatedStringHandler
- 继承
-
Assert.AssertIsNotNullInterpolatedStringHandler
- 属性
注解
此类型供编译器使用;用户不应直接引用它。
构造函数
| 名称 | 说明 |
|---|---|
| Assert.AssertIsNotNullInterpolatedStringHandler(Int32, Int32, Object, Boolean) |
初始化 结构的新实例 Assert.AssertIsNotNullInterpolatedStringHandler 。 |
方法
| 名称 | 说明 |
|---|---|
| AppendFormatted(Object, Int32, String) |
提供重载使用的 |
| AppendFormatted(ReadOnlySpan<Char>, Int32, String) |
提供重载使用的 |
| AppendFormatted(ReadOnlySpan<Char>) |
提供重载使用的 |
| AppendFormatted(String, Int32, String) |
提供重载使用的 |
| AppendFormatted(String) |
提供重载使用的 |
| AppendFormatted<T>(T, Int32, String) |
提供重载使用的 |
| AppendFormatted<T>(T, Int32) |
提供重载使用的 |
| AppendFormatted<T>(T, String) |
提供重载使用的 |
| AppendFormatted<T>(T) |
提供重载使用的 |
| AppendLiteral(String) |
提供重载使用的 |