C# Class Robotlegs.Base.EventMap

Inheritance: IEventMap
Mostrar archivo Open project: tekool/silverlight-robotlegs-framework

Protected Properties

Property Type Description
EventDispatcher IEventDispatcher
Listeners List
_dispatcherListeningEnabled bool

Public Methods

Method Description
EventMap ( IEventDispatcher eventDispatcher ) : System
MapListener ( IEventDispatcher dispatcher, string type, Action listener, Type eventClass = null ) : void
UnmapListener ( IEventDispatcher dispatcher, string type, Action listener, Type eventClass = null ) : void
UnmapListeners ( ) : void

Protected Methods

Method Description
RouteEventToListener ( Event e, Action listener, Type originalEventClass ) : void

Method Details

EventMap() public method

public EventMap ( IEventDispatcher eventDispatcher ) : System
eventDispatcher IEventDispatcher
return System

MapListener() public method

public MapListener ( IEventDispatcher dispatcher, string type, Action listener, Type eventClass = null ) : void
dispatcher IEventDispatcher
type string
listener Action
eventClass System.Type
return void

RouteEventToListener() protected method

protected RouteEventToListener ( Event e, Action listener, Type originalEventClass ) : void
e Event
listener Action
originalEventClass System.Type
return void

UnmapListener() public method

public UnmapListener ( IEventDispatcher dispatcher, string type, Action listener, Type eventClass = null ) : void
dispatcher IEventDispatcher
type string
listener Action
eventClass System.Type
return void

UnmapListeners() public method

public UnmapListeners ( ) : void
return void

Property Details

EventDispatcher protected_oe property

protected IEventDispatcher EventDispatcher
return IEventDispatcher

Listeners protected_oe property

protected List Listeners
return List

_dispatcherListeningEnabled protected_oe property

protected bool _dispatcherListeningEnabled
return bool