Language

TestFilterContext.Traits プロパティ

定義

このテストにアタッチされている特性を取得または設定します。 複数の特性が同じキーを共有できます。したがって、コンシューマーは、コレクションがディクショナリのように動作することを前提としてはなりません。 デフォルトは空のリストです。

[System.Runtime.CompilerServices.Nullable(new System.Byte[] { 1, 0, 1, 2 })]
public System.Collections.Generic.IReadOnlyList<System.Collections.Generic.KeyValuePair<string,string?>> Traits { get; set; }
public System.Collections.Generic.IReadOnlyList<System.Collections.Generic.KeyValuePair<string,string?>> Traits { get; set; }
[<System.Runtime.CompilerServices.Nullable(new System.Byte[] { 1, 0, 1, 2 })>]
member this.Traits : System.Collections.Generic.IReadOnlyList<System.Collections.Generic.KeyValuePair<string, string>> with get, set
member this.Traits : System.Collections.Generic.IReadOnlyList<System.Collections.Generic.KeyValuePair<string, string>> with get, set
Public Property Traits As IReadOnlyList(Of KeyValuePair(Of String, String))

プロパティ値

属性

適用対象