private void Reset() { foreach (IApplication app in AllApps.Values) { app.Dispose(); } AllApps.Clear(); MenuApps.Clear(); GlobalApps.Clear(); BackgroundApps.Clear(); ObjectApps.Clear(); }
private void RegisterGlobalApp(IGlobalApp app) { app.Init(_api.OpenAPI, _api.GlobalAPI); GlobalApps.Add(app); }