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