Skip to content

DefaultNodeFactory<TNode>.Create Method

Definition

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

public TNode Create(Type nodeType);

View source

Parameters

Name Type Description
nodeType Type The type of node to create.

Returns

TNode

The new node.