Esempio n. 1
0
 /// <summary>
 /// Writes a line to the section.
 /// </summary>
 /// <param name="msg">Message to write.</param>
 /// <param name="textColor">Color of the text.</param>
 /// <param name="backColor">Color of the background.</param>
 /// <param name="args">Arguments for the formatted string.</param>
 public void WriteLine(string msg, ConsoleColor textColor, ConsoleColor backColor, params object[] args)
 {
     if (!DashCMD.ConsoleHandleExists)
     {
         return;
     }
     Console.BackgroundColor = backColor;
     Console.ForegroundColor = textColor;
     DashCMD.stdWriteLine(String.Format(msg, args));
 }