Show / Hide Table of Contents

Class Node

A class representing a tree node, which can contain named INode objects, but cannot have a value.

Inheritance
object
Node
Implements
INode
IEnumerable<KeyValuePair<string, INode>>
IEnumerable
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Microsoft.XboxStudios.GameStateTracker.TreeObject
Assembly: GameStateTracker.TreeObject.dll
Syntax
public sealed class Node : INode, IEnumerable<KeyValuePair<string, INode>>, IEnumerable

Constructors

View Source

Node()

Initializes a new instance of the Node class.

Declaration
public Node()

Properties

View Source

this[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.

View Source

Value

Gets the item's value.

Declaration
public string? Value { get; }
Property Value
Type Description
string

Methods

View Source

GetEnumerator()

Returns an IEnumerator<T> of from the node.

Declaration
public IEnumerator<KeyValuePair<string, INode>> GetEnumerator()
Returns
Type Description
IEnumerator<KeyValuePair<string, INode>>

An IEnumerator<T> of .

Implements

INode
IEnumerable<T>
IEnumerable

Extension Methods

IEnumerableExtensions.WithoutLast<T>(IEnumerable<T>)
  • View Source
In this article
Back to top Generated by DocFX