Ejemplo n.º 1
0
 public void Write(string text, ScriptingStyle style)
 {
     if (dispatcher.CheckAccess())
     {
         nonThreadSafeScriptingConsole.Write(text, style);
     }
     else
     {
         Action <string, ScriptingStyle> action = Write;
         dispatcher.Invoke(action, text, style);
     }
 }
 public override void Write(ConsoleColor foregroundColor, ConsoleColor backgroundColor, string value)
 {
     scriptingConsole.Write(value, ScriptingStyle.Out);
 }