notifyOne static method
- IContext? context,
- dynamic component,
- Parameters args
Notifies specific component.
To be notiied components must implement INotifiable interface. If they don't the call to this method has no effect.
context
(optional) a context to trace execution through call chain.component
the component that is to be notified.args
notifiation arguments.
See INotifiable
Implementation
static void notifyOne(IContext? context, component, Parameters args) {
if (component is INotifiable) component.notify(context, args);
}