Exemplo n.º 1
0
 public virtual void Remove(BaseScenario scenario)
 {
     scenario.ClearReactiveSystems();
     scenario.Cleanup();
     scenario.Deinitialize();
     InitializeSystems.Remove(scenario as IInitializeSystem);
     ExecuteSystems.Remove(scenario as IExecuteSystem);
     DeinitializeSystems.Remove(scenario as IDeinitializeSystem);
     CleanupSystems.Remove(scenario as ICleanupSystem);
 }
Exemplo n.º 2
0
 protected Application()
 {
     _kernelScenarios = new Dictionary <IKernel, BaseScenario>();
     Pools            = new Pools();
     MainScenario     = new BaseScenario("Main");
 }