Esempio n. 1
0
 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();
 }
Esempio n. 2
0
        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();
        }