Esempio n. 1
0
 void moduleSaver_OnWritingFile(object sender, ModuleSaverWriteEventArgs e)
 {
     if (e.Starting)
     {
         ExecInOldThread(() => {
             CurrentFileName = e.File.FileName;
         });
         AsyncAddMessage(string.Format("Writing {0}...", e.File.FileName), false, false);
     }
     else
     {
         shownMessages.Clear();
         savedFile.Add(e.File, true);
     }
 }
Esempio n. 2
0
 void moduleSaver_OnWritingFile(object sender, ModuleSaverWriteEventArgs e)
 {
     if (e.Starting)
     {
         ExecInOldThread(() => {
             CurrentFileName = e.File.FileName;
         });
         AsyncAddMessage(string.Format(dnSpy_AsmEditor_Resources.SaveModules_Log_WritingFile, e.File.FileName), false, false);
     }
     else
     {
         shownMessages.Clear();
         savedFile.Add(e.File, true);
     }
 }
Esempio n. 3
0
		void moduleSaver_OnWritingFile(object sender, ModuleSaverWriteEventArgs e) {
			if (e.Starting) {
				ExecInOldThread(() => {
					CurrentFileName = e.File.FileName;
				});
				AsyncAddMessage(string.Format(dnSpy_AsmEditor_Resources.SaveModules_Log_WritingFile, e.File.FileName), false, false);
			}
			else {
				shownMessages.Clear();
				savedFile.Add(e.File, true);
			}
		}
Esempio n. 4
0
		void moduleSaver_OnWritingFile(object sender, ModuleSaverWriteEventArgs e) {
			if (e.Starting) {
				ExecInOldThread(() => {
					CurrentFileName = e.File.FileName;
				});
				AsyncAddMessage(string.Format("Writing {0}...", e.File.FileName), false, false);
			}
			else {
				shownMessages.Clear();
				savedFile.Add(e.File, true);
			}
		}