Language

TestFilterContext.Traits Property

Definition

Gets or sets the traits attached to this test. Multiple traits can share the same key; consumers must therefore not assume the collection behaves like a dictionary. Defaults to an empty list.

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

Property Value

Attributes

Applies to