private async void BtnRefreshEpics_Click(object sender, EventArgs e) { //clear the repositories from the cache and then force a refresh foreach (string item in s_settings.Repositories) { (string owner, string repo) = GetOwnerAndRepoFromString(item); s_issueManager.RemoveEpicFromCache(owner, repo); } await UpdateEpicListAsync(); }
private async void BtnRefreshEpics_Click(object sender, EventArgs e) { using IDisposable scope = s_logger.CreateScope("Refresing the list of epics"); //clear the repositories from the cache and then force a refresh foreach (string item in s_settings.Repositories) { (string owner, string repo) = StringHelpers.GetOwnerAndRepoFromString(item); s_issueManager.RemoveEpicFromCache(owner, repo); } await UpdateEpicListAsync(); }