C# Class Robotlegs.Base.EventDispatcher

Inheritance: IEventDispatcher
Mostrar archivo Open project: tekool/silverlight-robotlegs-framework Class Usage Examples

Protected Properties

Property Type Description
eventTypeMap Dictionary,int>>
target IEventDispatcher

Public Methods

Method Description
AddEventListener ( string type, Action listener ) : void
DispatchEvent ( Event e ) : bool
EventDispatcher ( IEventDispatcher target ) : System
HasEventListener ( string type ) : bool
RemoveEventListener ( string type, Action listener ) : void
WillTrigger ( string type ) : bool

Private Methods

Method Description
EventDispatcher ( ) : System

Method Details

AddEventListener() public method

public AddEventListener ( string type, Action listener ) : void
type string
listener Action
return void

DispatchEvent() public method

public DispatchEvent ( Event e ) : bool
e Event
return bool

EventDispatcher() public method

public EventDispatcher ( IEventDispatcher target ) : System
target IEventDispatcher
return System

HasEventListener() public method

public HasEventListener ( string type ) : bool
type string
return bool

RemoveEventListener() public method

public RemoveEventListener ( string type, Action listener ) : void
type string
listener Action
return void

WillTrigger() public method

public WillTrigger ( string type ) : bool
type string
return bool

Property Details

eventTypeMap protected_oe property

protected Dictionary,int>> eventTypeMap
return Dictionary,int>>

target protected_oe property

protected IEventDispatcher target
return IEventDispatcher