Пример #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);
     }
 }
Пример #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);
     }
 }
Пример #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);
			}
		}
Пример #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);
			}
		}