Example #1
0
 public void PrintLine(TextColor color, string text) => owner.PrintLine(this, color.Box(), text);
Example #2
0
 public void PrintLine(object value, TextColor color) => owner.PrintLine(this, color.Box(), printOptionsImpl, value);
Example #3
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="color">Color</param>
 /// <param name="text">Text</param>
 public ColorAndText(TextColor color, string text)
 {
     Color = color.Box();
     Text  = text;
 }
Example #4
0
 public void Write(TextColor color, string text) => provider.Output.Write(color.Box(), text);
Example #5
0
		public void WriteLine(TextColor color, string s) => WriteLine(color.Box(), s);
Example #6
0
 public void Print(TextColor color, string?text) => owner.Print(this, color.Box(), text);
Example #7
0
		public void WriteLine(string text, TextColor color) => WriteLine(text, color.Box());
 /// <inheritdoc/>
 public void Write(TextColor color, string text) => Write(color.Box(), text);
Example #9
0
 public void Write(TextColor color, string?text) => Add(color.Box(), text);
Example #10
0
		public void Write(string text, TextColor color) => OutputPrint(text, color.Box());
Example #11
0
 public void Write(string text, TextColor color) => OutputPrint(text, color.Box());
Example #12
0
		public void PrintLine(TextColor color, string text) => PrintLine(color.Box(), text);
Example #13
0
		public void Write(TextColor color, string text) => Add(color.Box(), text);
Example #14
0
 public void PrintLine(Exception ex, TextColor color) => owner.PrintLine(this, color.Box(), ex);
Example #15
0
		void IReplEditor.OutputPrintLine(string text, TextColor color, bool startOnNewLine) =>
			((IReplEditor)this).OutputPrint(text + Environment.NewLine, color.Box(), startOnNewLine);
Example #16
0
 public void PrintLine(TextColor color, string?text) => PrintLine(color.Box(), text);
Example #17
0
 void IReplEditor.OutputPrintLine(string text, TextColor color, bool startOnNewLine) =>
 ((IReplEditor)this).OutputPrint(text + Environment.NewLine, color.Box(), startOnNewLine);
Example #18
0
		/// <summary>
		/// Constructor
		/// </summary>
		/// <param name="color">Color</param>
		/// <param name="text">Text</param>
		public ColorAndText(TextColor color, string text) {
			Color = color.Box();
			Text = text;
		}
Example #19
0
		public void Write(TextColor color, string s) => WriteInternal(color.Box(), s);