OrderedNodeProcessor<TBaseNode, TNode> Class ​
Definition ​
Performs some processing on a given node of a specific type in a Pipeline<TBaseNode>. The processor can specify the order the pipeline should traverse the tree and whether to process descendants or not.
c#
public abstract class OrderedNodeProcessor<TBaseNode, TNode> : OrderedProcessor<TBaseNode>, IOrderedProcessor<NoContext, TBaseNode>
where TBaseNode : Node<TBaseNode>
where TNode : TBaseNodeType Parameters ​
| Name | Description |
|---|---|
TBaseNode | The type of nodes in the tree. |
TNode | The type of node to process. |
Constructors ​
| Name | Description |
|---|---|
OrderedNodeProcessor() |
Methods ​
| Name | Description |
|---|---|
Process(TBaseNode) | Performs processing on the specified node. Does not process any descendants. |
Process(TNode) | Performs processing on the specified node. Does not process any descendants. |
ShouldProcessDescendants(TBaseNode) | Whether descendants of this node should be processed by the Pipeline<TBaseNode> or not. Defaults to true. |
ShouldProcessDescendants(TNode) | Whether descendants of this node should be processed by the Pipeline<TBaseNode> or not. Defaults to true. |