语言

TestFilterContext.MethodArity 属性

定义

获取或设置在测试方法上声明的泛型类型参数数,或者 null 当没有可用的托管元数据时。 零表示非泛型方法。

public int? MethodArity { get; set; }
member this.MethodArity : Nullable<int> with get, set
Public Property MethodArity As Nullable(Of Integer)

属性值

适用于