C# Class Robotlegs.Base.EventDispatcher

Inheritance: IEventDispatcher
Afficher le fichier Open project: tekool/silverlight-robotlegs-framework Class Usage Examples

Protected Properties

Свойство Type Description
eventTypeMap Dictionary,int>>
target IEventDispatcher

Méthodes publiques

Méthode 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

Méthode Description
EventDispatcher ( ) : System

Method Details

AddEventListener() public méthode

public AddEventListener ( string type, Action listener ) : void
type string
listener Action
Résultat void

DispatchEvent() public méthode

public DispatchEvent ( Event e ) : bool
e Event
Résultat bool

EventDispatcher() public méthode

public EventDispatcher ( IEventDispatcher target ) : System
target IEventDispatcher
Résultat System

HasEventListener() public méthode

public HasEventListener ( string type ) : bool
type string
Résultat bool

RemoveEventListener() public méthode

public RemoveEventListener ( string type, Action listener ) : void
type string
listener Action
Résultat void

WillTrigger() public méthode

public WillTrigger ( string type ) : bool
type string
Résultat bool

Property Details

eventTypeMap protected_oe property

protected Dictionary,int>> eventTypeMap
Résultat Dictionary,int>>

target protected_oe property

protected IEventDispatcher target
Résultat IEventDispatcher