OrderedNodeProcessor<TContext, TBaseNode, TNode>.ShouldProcessDescendants Method ​
Overloads ​
| Name | Description |
|---|---|
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);Parameters ​
| Name | Type | Description |
|---|---|---|
context | TContext | The processing context. |
node | TBaseNode | The node. |
Returns ​
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);Parameters ​
| Name | Type | Description |
|---|---|---|
context | TContext | The processing context. |
node | TNode | The node. |
Returns ​
true if descendants should be processed, false otherwise.