Skip to content

INodeFactory<TNode> Interface

Definition

Factory to create nodes for a tree.

public abstract interface INodeFactory<TNode>
   where TNode : Node<TNode>

View source

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.