Język

TestFilterContext.Traits Właściwość

Definicja

Pobiera lub ustawia cechy dołączone do tego testu. Wiele cech może współdzielić ten sam klucz; w związku z tym użytkownicy nie mogą zakładać, że kolekcja zachowuje się jak słownik. Domyślnie jest to pusta lista.

[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))

Wartość właściwości

Atrybuty

Dotyczy