private void RefreshHistoryInformation() { Task.Factory.StartNew(async() => { var history = await UpdateService.GetUpdatesHistory(); UIDispatcherHelper.CallOnUIThread(() => { VersionChanges = history; }); }); }
void updateViewModel_CloseApplicationEventHandler(object sender, System.EventArgs e) { UIDispatcherHelper.CallOnUIThread(() => Application.Current.Shutdown()); }