Example #1
0
 protected override void Refresh()
 {
     base.Refresh();
     ItemsLoading.IsLoading    = true;
     ItemsLoading.ProgressInfo = "Reloading projects, branches and changesets ... please wait";
     ResetWorkItems();
     SetContent(new ObservableCollection <TfsWorkItemWrapper>());
     TfsItemCache.Clear();
     Repository.Instance.TfsBridgeProvider.Refresh();
 }
Example #2
0
 protected override void Refresh()
 {
     try
     {
         SimpleLogger.Log(SimpleLogLevel.Info, "Reload called (Changeset)");
         base.Refresh();
         ItemsLoading.IsLoading    = true;
         ItemsLoading.ProgressInfo = "Reloading projects, branches and changesets ... please wait";
         ResetChangesets();
         SetContent(new ObservableCollection <TfsChangesetWrapper>());
         SimpleLogger.Log(SimpleLogLevel.Info, "Reload clear list (Changeset)");
         TfsItemCache.Clear();
         SimpleLogger.Log(SimpleLogLevel.Info, "Reload call TFS Bridge (Changeset)");
         Repository.Instance.TfsBridgeProvider.Refresh();
         SimpleLogger.Log(SimpleLogLevel.Info, "Reload finished (Changeset)");
     } catch (Exception ex)
     {
         SimpleLogger.Log(ex, true, false);
     }
 }