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); }
protected Application() { _kernelScenarios = new Dictionary <IKernel, BaseScenario>(); Pools = new Pools(); MainScenario = new BaseScenario("Main"); }