Esempio n. 1
0
 /// <summary>
 /// Returns a verbose indented string for debugging
 /// </summary>
 /// <returns>a debugging string</returns>
 public override string ToString()
 {
     return
         ("  ForegroundColor: " + ForegroundColor.ToString() + "\n" +
          "  ForegroundRgb: " + (ForegroundRgb == null ? "<null>" : ForegroundRgb.ToString()) + "\n" +
          "  BackgroundColor: " + BackgroundColor.ToString() + "\n" +
          "  BackgroundRgb: " + (BackgroundRgb == null ? "<null>" : BackgroundRgb.ToString()) + "\n" +
          "  Bright: " + Bright.ToString() + "\n" +
          "  Standout: " + Standout.ToString() + "\n" +
          "  Underscore: " + Underscore.ToString() + "\n" +
          "  Blink: " + Blink.ToString() + "\n" +
          "  Reverse: " + Reverse.ToString() + "\n" +
          "  Hidden: " + Hidden.ToString() + "\n" +
          "  Protected: " + Protected.ToString() + "\n"
         );
 }