OrderedNodeProcessor<TBaseNode, TNode> Class
Definition
Performs some processing on a given node in a Pipeline<TBaseNode>. The processor can specify the order the pipeline should traverse the tree and whether to process descendents or not.
public abstract class OrderedNodeProcessor<TBaseNode, TNode> : OrderedProcessor<TBaseNode>
where TBaseNode : Node<TBaseNode>
where TNode : TBaseNode
Type 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 descendents. |
Process(TNode) |
Performs processing on the specified node. Does not process any descendents. |
ShouldProcessDescendents(TBaseNode) |
Whether descendents of this node should be processed by the Pipeline<TBaseNode> or not. Defaults to true. |
ShouldProcessDescendents(TNode) |
Whether descendents of this node should be processed by the Pipeline<TBaseNode> or not. Defaults to true. |