Skip to content

CompositeListener<TContext, TBaseNode>.ShouldListenToDescendants Method ​

Definition ​

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

c#
protected override bool ShouldListenToDescendants(TContext? context, TBaseNode node);

View source

Parameters ​

NameTypeDescription
contextTContextThe context object.
nodeTBaseNodeThe node whose children should be listened to or not.

Returns ​

Boolean

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