DefaultNodeFactory<TNode>.Create Method
Definition
Creates a node of the specified type. The node must inherit from TNode.
public TNode Create(Type nodeType);
Parameters
| Name | Type | Description |
|---|---|---|
nodeType |
Type |
The type of node to create. |
Returns
TNode
The new node.