OrderedProcessorWithContext<TContext, 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, TNode node);
Parameters
Name | Type | Description |
---|---|---|
context | TContext | The context object. |
node | TNode | The node. |
Returns
true
if children should be processed, false
otherwise.
Last modified: 22 November 2024