notifyOne static method

void notifyOne(
  1. IContext? context,
  2. dynamic component,
  3. 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);
}