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