Skip to content

Listener<TContext, TBaseNode, TNode>.ShouldListenToChildren Method

Overloads

Name Description
ShouldListenToChildren(TContext, TBaseNode) Return a value indicating whether child nodes should be listened to or not. Defaults to true.
ShouldListenToChildren(TContext, TNode) Return a value indicating whether child nodes should be listened to or not. Defaults to true.

ShouldListenToChildren(TContext, TBaseNode)

Return a value indicating whether child nodes should be listened to or not. Defaults to true.

protected sealed override bool ShouldListenToChildren(TContext? context, TBaseNode node);

View source

Parameters

Name Type Description
context TContext The context object.
node TBaseNode The node whose children should be listened to or not.

Returns

Boolean

true if child nodes should be listened to, false otherwise.

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);

View source

Parameters

Name Type Description
context TContext The context object.
node TNode The node whose children should be listened to or not.

Returns

Boolean

true if child nodes should be listened to, false otherwise.