OrderedProcessor<TContext, TBaseNode> Class ​
Definition ​
Performs some processing on a given node using a processing context 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 OrderedProcessor<TContext, TBaseNode> : Processor<TContext, TBaseNode>, IOrderedProcessor<TContext, TBaseNode>
where TBaseNode : Node<TBaseNode>Type Parameters ​
| Name | Description |
|---|---|
TContext | The type of the processing context. |
TBaseNode | The type of nodes in the tree. |
Constructors ​
| Name | Description |
|---|---|
OrderedProcessor() |
Methods ​
| Name | Description |
|---|---|
GetTraversal(TContext, TBaseNode) | Gets the traversal that the Pipeline<TBaseNode> should use for this processor. |
ShouldProcessDescendants(TContext, TBaseNode) | Whether descendants of this node should be processed by the Pipeline<TBaseNode> or not. Defaults to true. |