Assert.AssertGenericIsNotInstanceOfTypeInterpolatedStringHandler<TArg> 结构

定义

提供重载使用的 Assert.IsNotInstanceOfType 内插字符串处理程序,该处理程序仅在断言失败时分配消息并设置消息格式。

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public readonly struct Assert.AssertGenericIsNotInstanceOfTypeInterpolatedStringHandler<TArg>
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.Runtime.CompilerServices.InterpolatedStringHandler]
[System.Runtime.CompilerServices.IsReadOnly]
[System.Runtime.CompilerServices.Nullable(0)]
public readonly struct Assert.AssertGenericIsNotInstanceOfTypeInterpolatedStringHandler<TArg>
[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.AssertGenericIsNotInstanceOfTypeInterpolatedStringHandler<TArg>
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
type Assert.AssertGenericIsNotInstanceOfTypeInterpolatedStringHandler<'Arg> = struct
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
[<System.Runtime.CompilerServices.InterpolatedStringHandler>]
[<System.Runtime.CompilerServices.IsReadOnly>]
[<System.Runtime.CompilerServices.Nullable(0)>]
type Assert.AssertGenericIsNotInstanceOfTypeInterpolatedStringHandler<'Arg> = 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.AssertGenericIsNotInstanceOfTypeInterpolatedStringHandler<'Arg> = struct
Public Structure Assert.AssertGenericIsNotInstanceOfTypeInterpolatedStringHandler(Of TArg)

类型参数

TArg

值应与的类型相关。

继承
Assert.AssertGenericIsNotInstanceOfTypeInterpolatedStringHandler<TArg>
属性

注解

此类型供编译器使用;用户不应直接引用它。

构造函数

名称 说明
Assert.AssertGenericIsNotInstanceOfTypeInterpolatedStringHandler<TArg>(Int32, Int32, Object, Boolean)

初始化 结构的新实例 Assert.AssertGenericIsNotInstanceOfTypeInterpolatedStringHandler<TArg>

方法

名称 说明
AppendFormatted(Object, Int32, String)

提供重载使用的 Assert.IsNotInstanceOfType 内插字符串处理程序,该处理程序仅在断言失败时分配消息并设置消息格式。

AppendFormatted(ReadOnlySpan<Char>, Int32, String)

提供重载使用的 Assert.IsNotInstanceOfType 内插字符串处理程序,该处理程序仅在断言失败时分配消息并设置消息格式。

AppendFormatted(ReadOnlySpan<Char>)

提供重载使用的 Assert.IsNotInstanceOfType 内插字符串处理程序,该处理程序仅在断言失败时分配消息并设置消息格式。

AppendFormatted(String, Int32, String)

提供重载使用的 Assert.IsNotInstanceOfType 内插字符串处理程序,该处理程序仅在断言失败时分配消息并设置消息格式。

AppendFormatted(String)

提供重载使用的 Assert.IsNotInstanceOfType 内插字符串处理程序,该处理程序仅在断言失败时分配消息并设置消息格式。

AppendFormatted<T>(T, Int32, String)

提供重载使用的 Assert.IsNotInstanceOfType 内插字符串处理程序,该处理程序仅在断言失败时分配消息并设置消息格式。

AppendFormatted<T>(T, Int32)

提供重载使用的 Assert.IsNotInstanceOfType 内插字符串处理程序,该处理程序仅在断言失败时分配消息并设置消息格式。

AppendFormatted<T>(T, String)

提供重载使用的 Assert.IsNotInstanceOfType 内插字符串处理程序,该处理程序仅在断言失败时分配消息并设置消息格式。

AppendFormatted<T>(T)

提供重载使用的 Assert.IsNotInstanceOfType 内插字符串处理程序,该处理程序仅在断言失败时分配消息并设置消息格式。

AppendLiteral(String)

提供重载使用的 Assert.IsNotInstanceOfType 内插字符串处理程序,该处理程序仅在断言失败时分配消息并设置消息格式。

适用于