• INotificationListener

INotificationListener

Namespace: PluginManager.Abstractions

Assembly: PluginManager

This interface is used to create instances of a class that can register themselves with INotificationService in order to receive Notifications for Inter Plugin Event Notification. An instance of this class will only receive notifications for events to which they register to.

Methods

EventRaised(String, Object, Object, Object) This method is used to notify registered listeners that an event has been raised and is generally used in order to obtain a response. If called then the active thread is blocked whilst processing is completed and can be used by callers to ask a question which needs a response.
EventRaised(String, Object, Object) This method is used to notify registered listeners that an event has been raised and is generally used when no response is required. If called then the active thread is not blocked whilst processing is completed.
GetEvents() This method is called after a call to RegisterListener, if the function returns null, an empty list or a list which contains an empty or null string then an Invalid Operation exception will be raised. An instance of this interface can register multiple events.

In This Document