PipelineStage<TContext, TBaseNode> Class ​
Definition ​
A stage from a Pipeline<TContext, TBaseNode>
c#
public abstract class PipelineStage<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. |
Properties ​
| Name | Description |
|---|---|
DefaultTraversal | The default ITraversal<TNode> to use when traversing the tree if not specified by an OrderedProcessor<TBaseNode>. |
Name | The name of the stage. |
ShouldContinue | Function to run after the stage to determine if the pipeline should move on to the next stage or not. |
Methods ​
| Name | Description |
|---|---|
Run(TContext, TBaseNode) | Runs the stage. |