Beispiel #1
0
 private static void interpreter_OnConsoleOutput(object sender, ConsoleOutputEventArgs e)
 {
     Console.Write(e.Output);
 }
Beispiel #2
0
 protected virtual void OnConsoleOutput(ConsoleOutputEventArgs e)
 {
     EventHandler<ConsoleOutputEventArgs> handler = ConsoleOutput;
     if (handler != null)
         handler(this, e);
 }