The ability for dispatching events
| C# | Visual Basic | Visual C++ |
public interface IEventDispatcher
Public Interface IEventDispatcher
public interface class IEventDispatcher
| All Members | Methods | ||||
| Icon | Member | Description |
|---|---|---|
| AddEventListener(String, EventHandler) |
Adds the event listener
| |
| AddEventListener(String, EventHandler, Int32) |
Adds the event listener
| |
| AddEventListener(String, EventHandler, EventPhase) |
Adds the event listener
| |
| AddEventListener(String, EventHandler, EventPhase, Int32) |
Adds the event listener
| |
| DispatchEvent(Event) |
Dispatches an event
| |
| DispatchEvent(Event, Boolean) |
Dispatches an event with an option for switching on delayed processing
| |
| HasBubblingEventListener(String) |
Checks whether an event listener is registered with this EventDispatcher or any of its ancestors for the specified event type
Note: the implementation of event bubbling depends of the use-case and is not implemented by eDriven.Core
| |
| HasEventListener(String) |
Checks whether the EventDispatcher has any listeners registered for a specific type of event
| |
| RemoveAllListeners(String) |
Removes all event listeners of a certain type
| |
| RemoveEventListener(String, EventHandler) |
Removes the event listener
| |
| RemoveEventListener(String, EventHandler, EventPhase) |
Removes the event listener
|
Coded by Danko Kozar