Struct TNode.AttributeDictionary
Class used to represent the attributes of a node
Inherited Members
Namespace: NUnit.Framework.Interfaces
Assembly: nunit.framework.dll
Syntax
public readonly struct TNode.AttributeDictionary
Properties
View SourceCount
Gets the number of key/value pairs contained in the Dictionary<TKey, TValue>.
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
int |
this[string]
Gets or sets the value associated with the specified key. Overridden to return null if attribute is not found.
Declaration
public string? this[string key] { get; }
Parameters
Type | Name | Description |
---|---|---|
string | key | The key. |
Property Value
Type | Description |
---|---|
string | Value of the attribute or null |
Methods
View SourceGetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public Dictionary<string, string>.Enumerator GetEnumerator()
Returns
Type | Description |
---|---|
Dictionary<string, string>.Enumerator |