Skip to content

OrderedProcessor<TBaseNode> 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 descendants or not. Does not take a processing context.

public abstract class OrderedProcessor<TBaseNode> : Processor<TBaseNode>, IOrderedProcessor<NoContext, TBaseNode>
   where TBaseNode : Node<TBaseNode>

View source

Type Parameters

Name Description
TBaseNode The type of nodes in the tree.

Constructors

Name Description
OrderedProcessor()

Methods

Name Description
GetTraversal(TBaseNode) Gets the traversal that the Pipeline<TBaseNode> should use for this processor.
ShouldProcessDescendants(TBaseNode) Whether descendants of this node should be processed by the Pipeline<TBaseNode> or not. Defaults to true.