Listener<TContext, TBaseNode, TNode>.ShouldListenToChildren Method
Overloads
Name | Description |
|---|---|
Return a value indicating whether child nodes should be listened to or not. Defaults to |
ShouldListenToChildren(TContext, TBaseNode)
protected sealed override bool ShouldListenToChildren(TContext? context, TBaseNode node);
Parameters
Name | Type | Description |
|---|---|---|
context | TContext | |
node | TBaseNode |
Returns
ShouldListenToChildren(TContext, TNode)
Return a value indicating whether child nodes should be listened to or not. Defaults to true.
protected new virtual bool ShouldListenToChildren(TContext? context, TNode node);
Parameters
Name | Type | Description |
|---|---|---|
context | TContext | The context object. |
node | TNode | The node whose children should be listened to or not. |
Returns
true if child nodes should be listened to, false otherwise.
Last modified: 15 November 2025