OrderedProcessorWithContext<TContext, TBaseNode, TNode> Class
Definition
A Processor<TNode> that processes the nodes of a specific type in a tree in a specified order and gives access to a context object during processing.
Type Parameters
Name | Description |
---|---|
TContext | The type of the context object. |
TBaseNode | The base type of nodes in the tree. |
TNode | The type of nodes to process. |
Constructors
Name | Description |
---|---|
Properties
Name | Description |
---|---|
Override this property to specify the ITraversal<TNode> to use to traverse the tree. Defaults to DepthFirstPreOrderTraversal<TNode>. |
Methods
Name | Description |
---|---|
Override to create the context object. | |
Process the specified node. | |
Override this method to optionally decide whether to process the children of the specified node or not. Defaults to processing all nodes. | |
Override this method to optionally decide whether to process the specified node or not. Defaults to processing all nodes. |