Skip to content

DefaultNodeFactory<TNode>.Create Method ​

Definition ​

Creates a node of the specified type. The node must inherit from TNode.

c#
public TNode Create(Type nodeType);

View source

Parameters ​

NameTypeDescription
nodeTypeTypeThe type of node to create.

Returns ​

TNode

The new node.