NodeListener<TContext, TBaseNode, TNode>.ShouldListenToDescendants Method ​
Overloads ​
| Name | Description |
|---|---|
ShouldListenToDescendants(TContext, TBaseNode) | Return a value indicating whether child nodes should be listened to or not. Defaults to true. |
ShouldListenToDescendants(TContext, TNode) | Return a value indicating whether child nodes should be listened to or not. Defaults to true. |
ShouldListenToDescendants(TContext, TBaseNode) ​
Return a value indicating whether child nodes should be listened to or not. Defaults to true.
c#
protected sealed override bool ShouldListenToDescendants(TContext? context, TBaseNode node);Parameters ​
| Name | Type | Description |
|---|---|---|
context | TContext | The context object. |
node | TBaseNode | The node whose children should be listened to or not. |
Returns ​
true if child nodes should be listened to, false otherwise.
ShouldListenToDescendants(TContext, TNode) ​
Return a value indicating whether child nodes should be listened to or not. Defaults to true.
c#
protected new virtual bool ShouldListenToDescendants(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.