public void PrintLine(TextColor color, string text) => owner.PrintLine(this, color.Box(), text);
public void PrintLine(object value, TextColor color) => owner.PrintLine(this, color.Box(), printOptionsImpl, value);
/// <summary> /// Constructor /// </summary> /// <param name="color">Color</param> /// <param name="text">Text</param> public ColorAndText(TextColor color, string text) { Color = color.Box(); Text = text; }
public void Write(TextColor color, string text) => provider.Output.Write(color.Box(), text);
public void WriteLine(TextColor color, string s) => WriteLine(color.Box(), s);
public void Print(TextColor color, string?text) => owner.Print(this, color.Box(), text);
public void WriteLine(string text, TextColor color) => WriteLine(text, color.Box());
/// <inheritdoc/> public void Write(TextColor color, string text) => Write(color.Box(), text);
public void Write(TextColor color, string?text) => Add(color.Box(), text);
public void Write(string text, TextColor color) => OutputPrint(text, color.Box());
public void Write(string text, TextColor color) => OutputPrint(text, color.Box());
public void PrintLine(TextColor color, string text) => PrintLine(color.Box(), text);
public void Write(TextColor color, string text) => Add(color.Box(), text);
public void PrintLine(Exception ex, TextColor color) => owner.PrintLine(this, color.Box(), ex);
void IReplEditor.OutputPrintLine(string text, TextColor color, bool startOnNewLine) => ((IReplEditor)this).OutputPrint(text + Environment.NewLine, color.Box(), startOnNewLine);
public void PrintLine(TextColor color, string?text) => PrintLine(color.Box(), text);
void IReplEditor.OutputPrintLine(string text, TextColor color, bool startOnNewLine) => ((IReplEditor)this).OutputPrint(text + Environment.NewLine, color.Box(), startOnNewLine);
/// <summary> /// Constructor /// </summary> /// <param name="color">Color</param> /// <param name="text">Text</param> public ColorAndText(TextColor color, string text) { Color = color.Box(); Text = text; }
public void Write(TextColor color, string s) => WriteInternal(color.Box(), s);