public void dispose() { foreach ( KeyValuePair<string, IIwModel> item in _modelList ) { item.Value.dispose (); } _modelList.Clear (); _dispatcher = null; }
public void dispose() { foreach ( KeyValuePair <string, IIwWire> tmpRegister in _wireList ) { tmpRegister.Value.dispose (); } _wireList.Clear (); _dispatcher = null; }
public void dispose() { foreach ( KeyValuePair<string,List<Type>> _commands in _commandList ) { _commands.Value.Clear (); } _commandList.Clear (); _dispatcher = null; }
public IwViewsManager( IwEventDispatcher dispatcher ) { _dispatcher = dispatcher; _viewList = new Dictionary<string, IIwView> (); _viewsForNotify = new Dictionary<string, List<IIwView>> (); }
public IwWiresManager( IwEventDispatcher dispatcher ) { _dispatcher = dispatcher; _wireList = new Dictionary<string, IIwWire> (); }
public IwModelsManager( IwEventDispatcher dispatcher ) { _dispatcher = dispatcher; _modelList = new Dictionary<string, IIwModel> (); }
public void initialize() { _dispatcher = new IwEventDispatcher (); _dispatcher.OnTriggerEvent += HandleOnTriggerEvent; _controller = new IwController ( _dispatcher ); _modelsMgr = new IwModelsManager ( _dispatcher ); _viewsMgr = new IwViewsManager ( _dispatcher ); _wireMgr = new IwWiresManager (_dispatcher); registerCommands (); registerModels (); registerViews (); registerWires (); }
public IwController( IwEventDispatcher dispatcher ) { _dispatcher = dispatcher; _commandList = new Dictionary<string, List<Type>> (); }