Exemplo n.º 1
0
        /// <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);
        }
Exemplo n.º 2
0
        /// <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;
        }
Exemplo n.º 3
0
 void updater_UpdateDetected(object sender, UpdateDetectedEventArgs e)
 {
     LatestVersion = e.LatestVersion.Version;
     ReleaseNotesLink = e.LatestVersion.ReleaseNotesLink;
 }