Exemple #1
0
 public void WriteError(string message)
 {
     if (consoleHost.IsRunning)
     {
         consoleHost.ScriptingConsole.WriteLine(message, ScriptingStyle.Error);
         consoleHost.WritePrompt();
     }
 }
Exemple #2
0
 public void ClearConsole()
 {
     consoleHost.Clear();
     consoleHost.WritePrompt();
 }