Example #1
0
        public async void CheckForUpdates(bool initiatedByUser)
        {
            UpdateCheckStarted?.Invoke(this, initiatedByUser);

            CheckForUpdatesResult = await updateManager.CheckForUpdatesAsync();

            UpdateCheckFinished?.Invoke(this, CheckForUpdatesResult, initiatedByUser);
        }
Example #2
0
 private void RaiseUpdateCheckStartedEvent()
 {
     UpdateCheckStarted?.Invoke(this, EventArgs.Empty);
 }
Example #3
0
 private void OnUpdateCheckStarted(object sender, EventArgs eventArgs)
 {
     _updateTimer.Stop();
     UpdateCheckStarted?.Invoke(sender, eventArgs);
 }