Click or drag to resize

EventManager Class

Singleton class for sending and receiving events.
Inheritance Hierarchy
SystemObject
  IBM.Watson.DeveloperCloud.UtilitiesEventManager

Namespace:  IBM.Watson.DeveloperCloud.Utilities
Assembly:  unity-documentation (in unity-documentation.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class EventManager

The EventManager type exposes the following members.

Constructors
  NameDescription
Public methodEventManager
Initializes a new instance of the EventManager class
Top
Properties
  NameDescription
Public propertyStatic memberInstance
Returns the singleton event manager instance.
Top
Methods
  NameDescription
Public methodRegisterEventReceiver
Register an event receiver with this EventManager.
Public methodSendEvent
Send an event to all registered receivers.
Public methodSendEventAsync
Queues an event to be sent, returns immediately.
Public methodUnregisterAllEventReceivers
Unregisters all event receivers.
Public methodUnregisterEventReceiver
Unregister a specific receiver.
Public methodUnregisterEventReceivers
Unregister all event receivers for a given event.
Top
See Also