C# Class Robotlegs.Base.CommandMap

Inheritance: ICommandMap
Mostra file Open project: tekool/silverlight-robotlegs-framework

Protected Properties

Property Type Description
eventDispatcher IEventDispatcher
eventTypeMap Dictionary>>>
injector IInjector
reflector IReflector
verifiedCommandClasses bool>.Dictionary

Public Methods

Method Description
CommandMap ( IEventDispatcher eventDispatcher, IInjector injector, IReflector reflector ) : System
HasEventCommand ( string eventType, Type commandClass, Type eventClass = null ) : bool
MapEvent ( string eventType, Type commandClass, Type eventClass = null, bool oneshot = false ) : void
UnmapEvent ( string eventType, Type commandClass, Type eventClass = null ) : void

Protected Methods

Method Description
RouteEventToCommand ( Event e, Type commandClass, bool oneshot, Type originalEventClass ) : void

Method Details

CommandMap() public method

public CommandMap ( IEventDispatcher eventDispatcher, IInjector injector, IReflector reflector ) : System
eventDispatcher IEventDispatcher
injector IInjector
reflector IReflector
return System

HasEventCommand() public method

public HasEventCommand ( string eventType, Type commandClass, Type eventClass = null ) : bool
eventType string
commandClass System.Type
eventClass System.Type
return bool

MapEvent() public method

public MapEvent ( string eventType, Type commandClass, Type eventClass = null, bool oneshot = false ) : void
eventType string
commandClass System.Type
eventClass System.Type
oneshot bool
return void

RouteEventToCommand() protected method

protected RouteEventToCommand ( Event e, Type commandClass, bool oneshot, Type originalEventClass ) : void
e Event
commandClass System.Type
oneshot bool
originalEventClass System.Type
return void

UnmapEvent() public method

public UnmapEvent ( string eventType, Type commandClass, Type eventClass = null ) : void
eventType string
commandClass System.Type
eventClass System.Type
return void

Property Details

eventDispatcher protected_oe property

protected IEventDispatcher eventDispatcher
return IEventDispatcher

eventTypeMap protected_oe property

protected Dictionary>>> eventTypeMap
return Dictionary>>>

injector protected_oe property

protected IInjector injector
return IInjector

reflector protected_oe property

protected IReflector reflector
return IReflector

verifiedCommandClasses protected_oe property

protected Dictionary verifiedCommandClasses
return bool>.Dictionary