INodeFactory<TNode> Interface ​
Definition ​
Factory to create nodes for a tree.
c#
public abstract interface INodeFactory<TNode>
where TNode : Node<TNode>Type Parameters ​
| Name | Description |
|---|---|
TNode | The base type of nodes to create. |
Methods ​
| Name | Description |
|---|---|
Create(Type) | Creates a node of the specified type. The node must inherit from TNode. |
Create<T>() | Creates a node of the specified type. |