Skip to content

OrderedNodeProcessor<TContext, TBaseNode, TNode>.ShouldProcessDescendants Method ​

Overloads ​

NameDescription
ShouldProcessDescendants(TContext, TBaseNode)Whether descendants of this node should be processed by the Pipeline<TBaseNode> or not. Defaults to true.
ShouldProcessDescendants(TContext, TNode)Whether descendants of this node should be processed by the Pipeline<TContext, TBaseNode> or not. Defaults to true.

ShouldProcessDescendants(TContext, TBaseNode) ​

Whether descendants of this node should be processed by the Pipeline<TBaseNode> or not. Defaults to true.

c#
public sealed override bool ShouldProcessDescendants(TContext? context, TBaseNode node);

View source

Parameters ​

NameTypeDescription
contextTContextThe processing context.
nodeTBaseNodeThe node.

Returns ​

Boolean

true if descendants of node should be processed, false otherwise.

ShouldProcessDescendants(TContext, TNode) ​

Whether descendants of this node should be processed by the Pipeline<TContext, TBaseNode> or not. Defaults to true.

c#
protected new virtual bool ShouldProcessDescendants(TContext? context, TNode node);

View source

Parameters ​

NameTypeDescription
contextTContextThe processing context.
nodeTNodeThe node.

Returns ​

Boolean

true if descendants should be processed, false otherwise.