public async void CheckForUpdates(bool initiatedByUser) { UpdateCheckStarted?.Invoke(this, initiatedByUser); CheckForUpdatesResult = await updateManager.CheckForUpdatesAsync(); UpdateCheckFinished?.Invoke(this, CheckForUpdatesResult, initiatedByUser); }
private void RaiseUpdateCheckStartedEvent() { UpdateCheckStarted?.Invoke(this, EventArgs.Empty); }
private void OnUpdateCheckStarted(object sender, EventArgs eventArgs) { _updateTimer.Stop(); UpdateCheckStarted?.Invoke(sender, eventArgs); }