eDriven Framework API
LazyEventDispatcher Class
Namespaces ► eDriven.Core.Events ► LazyEventDispatcher
eDriven Framework API
The class that holds an instance of event dispatcher The instance is created lazily, i.e. the first time that event-dispatching functionality is needed This is a performance optimization
Declaration Syntax

C# | Visual Basic | Visual C++

    public class LazyEventDispatcher : IEventDispatcher

    Public Class LazyEventDispatcher _
    	Implements IEventDispatcher

    public ref class LazyEventDispatcher : IEventDispatcher

Members

All Members | Constructors | Methods
Public Protected | Instance Static | Declared Inherited

Icon | Member | Description
--- | --- | ---
| LazyEventDispatcher()()()() | Initializes a new instance of the LazyEventDispatcher class
| 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
| Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
| Finalize()()()() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
| GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.)
| GetType()()()() | Gets the type of the current instance. (Inherited from Object.)
| HasBubblingEventListener(String) | Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type. This method returns true if an event listener is triggered during any phase of the event flow when an event of the specified type is dispatched to this EventDispatcher object or any of its descendants. The difference between HasEventListener() and HasBubblingEventListener() is that HasEventListener() examines only the object to which it belongs, whereas HasBubblingEventListener() examines the entire event flow for the event specified by the type parameter.
| HasEventListener(String) | Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
| MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.)
| 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
| ToString()()()() | Returns a string that represents the current object. (Inherited from Object.)

Remarks
Coded by Danko Kozar
Inheritance Hierarchy

Object
| LazyEventDispatcher
|  | LayoutBase

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