notify static method
- IContext? context,
- List? components,
- Parameters args
Notifies multiple components.
To be notified 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.components
a list of components that are to be notified.args
notification arguments.
See notifyOne See INotifiable
Implementation
static void notify(IContext? context, List? components, Parameters args) {
if (components == null) return;
for (var component in components) {
Notifier.notifyOne(context, component, args);
}
}