ExpressionListener Class
This page contains documentation for advanced Fuse features, so we have
taken the liberty to tick the "Show advanced things" checkbox above for
you in advance to be able to provide you with some additional information.
A base class for common expression subscriptions. This handles the basic bookkeeping. Derived classes should implement OnArguments
(coming from the base class). The members ClearData
and SetData
should be called to set the output state.
Using this directly is unsual, consider ComputeExpression
instead.
Derived classes should implement OnArguments
Location
- Namespace
- Fuse.Reactive
- Package
- Fuse.Reactive.Expressions 2.9.1
Interface of ExpressionListener
ExpressionListener(Expression, IListener, Expression[], Flags) Constructor uno
OnDataCleared uno
SetData(object) uno
The output is set to the given value.
Inherited from ExpressionSubscriber
Init(IContext) uno
Must be called by instantiators of subscription after construction. This avoids race condition if subscriptions call back synchronously.