コード例 #1
0
        void automaticUpdater_CheckingFailed(object sender, FailArgs e)
        {
            LogHelper.Trace("automaticUpdater_CheckingFailed");

            UpdateIsAvailable = false;

            if (UpdateNotAvailable != null)
            {
                UpdateNotAvailable(this, EventArgs.Empty);
            }
        }
コード例 #2
0
 static void auBackend_UpdateFailed(object sender, FailArgs e)
 {
     //TODO: Notify the admin, or however you want to handle the failure
     WriteToLog("Update failed. Reason\r\nTitle: " + e.ErrorTitle + "\r\nMessage: " + e.ErrorMessage, true);
 }
コード例 #3
0
 // Token: 0x06000128 RID: 296 RVA: 0x000037D9 File Offset: 0x000019D9
 private static void smethod_1(object object_0, FailArgs failArgs_0)
 {
     GForm1.webView_0.QueueScriptCall(string.Format(Class185.smethod_0(537708574), failArgs_0.ErrorTitle.smethod_4(), failArgs_0.ErrorMessage.smethod_4()));
 }
コード例 #4
0
 void automaticUpdater_DownloadingFailed(object sender, FailArgs e)
 {
     LogHelper.Trace("automaticUpdater_DownloadingFailed");
 }
コード例 #5
0
 // Token: 0x06000128 RID: 296 RVA: 0x00003780 File Offset: 0x00001980
 private static void smethod_1(object object_0, FailArgs failArgs_0)
 {
     MainWindow.webView_0.QueueScriptCall(string.Format("swal('{0}', '{1}', 'error')", failArgs_0.ErrorTitle.smethod_4(), failArgs_0.ErrorMessage.smethod_4()));
 }
コード例 #6
0
ファイル: MainWindow.xaml.cs プロジェクト: MAS0N0V/AutoUnity
 void OnExtractingFailed(object sender, FailArgs e)
 {
     Console.WriteLine("extract fail");
     UpdateExtractErrorBox();
 }
コード例 #7
0
ファイル: MainWindow.xaml.cs プロジェクト: MAS0N0V/AutoUnity
 void OnDownloadingFailed(object sender, FailArgs e)
 {
     Console.WriteLine("download fail");
     UpdateDownloadErrorBox();
 }
コード例 #8
0
ファイル: MainWindow.xaml.cs プロジェクト: MAS0N0V/AutoUnity
 private void Updater_CheckingFailed(object sender, FailArgs e)
 {
     Console.WriteLine("*****I FAILED******* " + e.ErrorMessage); // since we kept on getting an error message we added e.ErrorMessage to find out why
     UpdateCheckErrorBox();
 }
コード例 #9
0
ファイル: MainWindow.xaml.cs プロジェクト: MAS0N0V/AutoUnity
 void OnFailed(object sender, FailArgs e) //OnUpdateFailed
 {
     Console.WriteLine("fail");
     UpdateErrorBox();
 }