PropertyNode<TNode> Class
Definition
Abstract base class for nodes in a tree with a collection of arbitrary properties that can be copied.
Type Parameters
Name | Description |
---|---|
TNode | Self generic node parameter. |
Constructors
Name | Description |
---|---|
Initialises a new instance of the Node<TNode> class. | |
Initialises a new instance of the Node<TNode> class with the specified children. |
Properties
Name | Description |
---|---|
The Properties associated with this node. |
Methods
Name | Description |
---|---|
Copies this node and its Properties using the DefaultNodeFactory<TNode>. | |
Copies this node and its Properties using the specified INodeFactory<TNode>. | |
Returns an IEnumerable<T> that enumerates over the properties as KeyValuePair<TKey, TValue>s. Returns the name as the key and an untyped object for the value. This will be the object itself for single value properties and a List<T> of objects for multiple value properties. |