eDriven Framework API
IEventDispatcher Interface
NamespaceseDriven.Core.EventsIEventDispatcher
eDriven Framework API
The ability for dispatching events
Declaration Syntax
C#Visual BasicVisual C++
public interface IEventDispatcher
Public Interface IEventDispatcher
public interface class IEventDispatcher
Members
All MembersMethods



IconMemberDescription
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

Remarks
Coded by Danko Kozar

Assembly: eDriven.Core (Module: eDriven.Core) Version: 2.0.1.0 (2.0.1.0)