Exemple #1
0
 private void OnConsoleOutput(string text, TextType textType)
 {
     var args = new ConsoleEventArgs() { Text = text, TextType = textType };
     OnConsoleOutput(args);
 }
Exemple #2
0
 private void ScriptingEngineOnConsoleOutput(object sender, ConsoleEventArgs eventArgs)
 {
     if(ShowConsoleOutput)
         Execute.OnUIThread(() => Write(eventArgs.Text, TextType.Output));
 }
Exemple #3
0
 private void OnConsoleOutput(ConsoleEventArgs e)
 {
     EventHandler<ConsoleEventArgs> handler = ConsoleOutput;
     if (handler != null) handler(this, e);
 }