Class Node
A class representing a tree node, which can contain named INode objects, but cannot have a value.
Inherited Members
Namespace: Microsoft.XboxStudios.GameStateTracker.TreeObject
Assembly: GameStateTracker.TreeObject.dll
Syntax
public sealed class Node : INode, IEnumerable<KeyValuePair<string, INode>>, IEnumerable
Constructors
View SourceNode()
Initializes a new instance of the Node class.
Declaration
public Node()
Properties
View Sourcethis[string]
Gets the node associated with the given name.
Declaration
public INode this[string key] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
string | key | The name. |
Property Value
Type | Description |
---|---|
INode | The node, if one was found. |
Value
Gets the item's value.
Declaration
public string? Value { get; }
Property Value
Type | Description |
---|---|
string |
Methods
View SourceGetEnumerator()
Returns an IEnumerator<T> of
Declaration
public IEnumerator<KeyValuePair<string, INode>> GetEnumerator()
Returns
Type | Description |
---|---|
IEnumerator<KeyValuePair<string, INode>> | An IEnumerator<T> of |