private void RemoveRepoTab(IEnumerable <TabReposControl> removedRepos) { foreach (var tab in removedRepos) { loggingService.LogDebug($"[{nameof(RemoveRepoTab)}] Removing tab: {tab.Name}"); appConfiguration.Remove(tab.RepoConfiguration); reposCatalogs.TabPages.Remove(tab); tab.Dispose(); } }