OrderedProcessorWithContext<TContext, TBaseNode, TNode>.ShouldProcessNode Method
Definition
Override this method to optionally decide whether to process the specified node or not. Defaults to processing all nodes.
protected virtual bool ShouldProcessNode(TContext? context, TNode node);
Parameters
Name | Type | Description |
---|---|---|
context | TContext | The context object. |
node | TNode | The node. |
Returns
true
if node
should be processed, false
otherwise.
Last modified: 22 November 2024