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