Listener<TContext, TNode>.ShouldListenToChildren Method
Definition
Return a value indicating whether child nodes should be listened to or not. Defaults to true
.
protected virtual bool ShouldListenToChildren(TContext? context, TNode node);
Parameters
Name | Type | Description |
---|---|---|
context | TContext | The context object. |
node | TNode | The node who's children should be listened to or not. |
Returns
true
if child nodes should be listened to, false
otherwise.
Last modified: 22 November 2024