Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import flash.display.DisplayObjectContainer;
import flash.system.ApplicationDomain;
import org.robotlegs.base.SignalCommandMap;
import org.robotlegs.core.IInjector;
import org.robotlegs.core.ISignalCommandMap;
import org.robotlegs.core.ISignalContext;
import org.robotlegs.utilities.modular.mvcs.ModuleContext;
public class ModularSignalContext extends ModuleContext implements ISignalContext
protected var _signalCommandMap:ISignalCommandMap;
public function get signalCommandMap():ISignalCommandMap
return _signalCommandMap || (_signalCommandMap = new SignalCommandMap(injector.createChild()));
public function set signalCommandMap(value:ISignalCommandMap):void
_signalCommandMap = value;
public function ModularSignalContext(contextView:DisplayObjectContainer=null, autoStartup:Boolean=true, parentInjector:IInjector = null, applicationDomain:ApplicationDomain = null)
super(contextView, autoStartup, parentInjector, applicationDomain);
override protected function mapInjections():void
injector.mapValue(ISignalCommandMap, signalCommandMap);

This comment has been minimized.

Copy link

commented Jan 31, 2011

So what package should I store this class in, utilities?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.