Skip to content

NodeProcessor<TContext, TBaseNode, TNode> Class ​

Definition ​

Performs some processing on a given node of a specific type using a processing context in a Pipeline<TContext, TBaseNode>.

c#
public abstract class NodeProcessor<TContext, TBaseNode, TNode> : Processor<TContext, TBaseNode>
   where TBaseNode : Node<TBaseNode>
   where TNode : TBaseNode

View source

Type Parameters ​

NameDescription
TContextThe type of the processing context.
TBaseNodeThe type of nodes in the tree.
TNodeThe type of node to process.

Constructors ​

NameDescription
NodeProcessor()

Methods ​

NameDescription
Process(TContext, TBaseNode)Performs processing on the specified node. Does not process any descendants.
Process(TContext, TNode)Performs processing on the specified node. Does not process any descendants.