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