/// <summary> /// 新たな更新情報が確認された後の手続きを確認します。 /// </summary> private NextUpdateAction OnUpdateDetected(AppCastItem latestVersion) { var e = new UpdateDetectedEventArgs { NextAction = NextUpdateAction.ContinueToUpdate, ApplicationConfig = config, LatestVersion = latestVersion, }; UpdateDetected.SafeRaiseEvent(this, e); return(e.NextAction); }
/// <summary> /// 新たな更新情報が確認された後の手続きを確認します。 /// </summary> private NextUpdateAction OnUpdateDetected(AppCastItem latestVersion) { var e = new UpdateDetectedEventArgs { NextAction = NextUpdateAction.ContinueToUpdate, ApplicationConfig = config, LatestVersion = latestVersion, }; UpdateDetected.SafeRaiseEvent(this, e); return e.NextAction; }
void updater_UpdateDetected(object sender, UpdateDetectedEventArgs e) { LatestVersion = e.LatestVersion.Version; ReleaseNotesLink = e.LatestVersion.ReleaseNotesLink; }