Search Results for

    Class TextWriterHighlightedColor

    Console text writer with color support

    Inheritance
    object
    TextWriterHighlightedColor
    Namespace
    Terminaux.Writer.ConsoleWriters @ Terminaux.dll
    Syntax
    public static class TextWriterHighlightedColor


    Methods

    Render(bool, string, params object[])

    Outputs the text into the terminal prompt.

    Returns
    string
    Declaration
    public static string Render(bool legacy, string Text, params object[] vars)
    Parameters
    Name Type Description
    legacy bool

    Use RenderSetConsoleColor(Color, bool, bool, bool) instead of text formatting

    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    vars object[]

    Variables to format the message before it's written.

    Render(bool, string, ThemeColorType, params object[])

    Outputs the text into the terminal prompt with custom color support.

    Returns
    string
    Declaration
    public static string Render(bool legacy, string Text, ThemeColorType color = ThemeColorType.NeutralText, params object[] vars)
    Parameters
    Name Type Description
    legacy bool

    Use RenderSetConsoleColor(Color, bool, bool, bool) instead of text formatting

    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    color ThemeColorType

    A color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

    Render(bool, string, ThemeColorType, ThemeColorType, params object[])

    Outputs the text into the terminal prompt with custom color support.

    Returns
    string
    Declaration
    public static string Render(bool legacy, string Text, ThemeColorType ForegroundColor = ThemeColorType.NeutralText, ThemeColorType BackgroundColor = ThemeColorType.Background, params object[] vars)
    Parameters
    Name Type Description
    legacy bool

    Use RenderSetConsoleColor(Color, bool, bool, bool) instead of text formatting

    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    ForegroundColor ThemeColorType

    A foreground color that will be changed to.

    BackgroundColor ThemeColorType

    A background color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

    Render(string, params object[])

    Outputs the text into the terminal prompt.

    Returns
    string
    Declaration
    public static string Render(string Text, params object[] vars)
    Parameters
    Name Type Description
    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    vars object[]

    Variables to format the message before it's written.

    RenderColor(bool, string, Color, params object[])

    Outputs the text into the terminal prompt with custom color support.

    Returns
    string
    Declaration
    public static string RenderColor(bool legacy, string Text, Color color, params object[] vars)
    Parameters
    Name Type Description
    legacy bool

    Use RenderSetConsoleColor(Color, bool, bool, bool) instead of text formatting

    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    color Color

    A color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

    RenderColor(string, Color, params object[])

    Outputs the text into the terminal prompt with custom color support.

    Returns
    string
    Declaration
    public static string RenderColor(string Text, Color color, params object[] vars)
    Parameters
    Name Type Description
    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    color Color

    A color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

    RenderColor(string, ThemeColorType, params object[])

    Outputs the text into the terminal prompt with custom color support.

    Returns
    string
    Declaration
    public static string RenderColor(string Text, ThemeColorType color = ThemeColorType.NeutralText, params object[] vars)
    Parameters
    Name Type Description
    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    color ThemeColorType

    A color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

    RenderColorBack(bool, string, Color, Color, params object[])

    Outputs the text into the terminal prompt with custom color support.

    Returns
    string
    Declaration
    public static string RenderColorBack(bool legacy, string Text, Color ForegroundColor, Color BackgroundColor, params object[] vars)
    Parameters
    Name Type Description
    legacy bool

    Use RenderSetConsoleColor(Color, bool, bool, bool) instead of text formatting

    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    ForegroundColor Color

    A foreground color that will be changed to.

    BackgroundColor Color

    A background color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

    RenderColorBack(string, Color, Color, params object[])

    Outputs the text into the terminal prompt with custom color support.

    Returns
    string
    Declaration
    public static string RenderColorBack(string Text, Color ForegroundColor, Color BackgroundColor, params object[] vars)
    Parameters
    Name Type Description
    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    ForegroundColor Color

    A foreground color that will be changed to.

    BackgroundColor Color

    A background color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

    RenderColorBack(string, ThemeColorType, ThemeColorType, params object[])

    Outputs the text into the terminal prompt with custom color support.

    Returns
    string
    Declaration
    public static string RenderColorBack(string Text, ThemeColorType ForegroundColor = ThemeColorType.NeutralText, ThemeColorType BackgroundColor = ThemeColorType.Background, params object[] vars)
    Parameters
    Name Type Description
    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    ForegroundColor ThemeColorType

    A foreground color that will be changed to.

    BackgroundColor ThemeColorType

    A background color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

    Write(bool, string, bool, params object[])

    Outputs the text into the terminal prompt.

    Declaration
    public static void Write(bool legacy, string Text, bool Line, params object[] vars)
    Parameters
    Name Type Description
    legacy bool

    Use RenderSetConsoleColor(Color, bool, bool, bool) instead of text formatting

    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    Line bool

    Whether to print a new line or not

    vars object[]

    Variables to format the message before it's written.

    Write(bool, string, bool, ThemeColorType, params object[])

    Outputs the text into the terminal prompt with custom color support.

    Declaration
    public static void Write(bool legacy, string Text, bool Line, ThemeColorType color = ThemeColorType.NeutralText, params object[] vars)
    Parameters
    Name Type Description
    legacy bool

    Use RenderSetConsoleColor(Color, bool, bool, bool) instead of text formatting

    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    Line bool

    Whether to print a new line or not

    color ThemeColorType

    A color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

    Write(bool, string, bool, ThemeColorType, ThemeColorType, params object[])

    Outputs the text into the terminal prompt with custom color support.

    Declaration
    public static void Write(bool legacy, string Text, bool Line, ThemeColorType ForegroundColor = ThemeColorType.NeutralText, ThemeColorType BackgroundColor = ThemeColorType.Background, params object[] vars)
    Parameters
    Name Type Description
    legacy bool

    Use RenderSetConsoleColor(Color, bool, bool, bool) instead of text formatting

    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    Line bool

    Whether to print a new line or not

    ForegroundColor ThemeColorType

    A foreground color that will be changed to.

    BackgroundColor ThemeColorType

    A background color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

    Write(bool, string, params object[])

    Outputs the text into the terminal prompt.

    Declaration
    public static void Write(bool legacy, string Text, params object[] vars)
    Parameters
    Name Type Description
    legacy bool

    Use RenderSetConsoleColor(Color, bool, bool, bool) instead of text formatting

    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    vars object[]

    Variables to format the message before it's written.

    Write(bool, string, ThemeColorType, params object[])

    Outputs the text into the terminal prompt with custom color support.

    Declaration
    public static void Write(bool legacy, string Text, ThemeColorType color = ThemeColorType.NeutralText, params object[] vars)
    Parameters
    Name Type Description
    legacy bool

    Use RenderSetConsoleColor(Color, bool, bool, bool) instead of text formatting

    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    color ThemeColorType

    A color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

    Write(bool, string, ThemeColorType, ThemeColorType, params object[])

    Outputs the text into the terminal prompt with custom color support.

    Declaration
    public static void Write(bool legacy, string Text, ThemeColorType ForegroundColor = ThemeColorType.NeutralText, ThemeColorType BackgroundColor = ThemeColorType.Background, params object[] vars)
    Parameters
    Name Type Description
    legacy bool

    Use RenderSetConsoleColor(Color, bool, bool, bool) instead of text formatting

    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    ForegroundColor ThemeColorType

    A foreground color that will be changed to.

    BackgroundColor ThemeColorType

    A background color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

    Write(string, bool, params object[])

    Outputs the text into the terminal prompt.

    Declaration
    public static void Write(string Text, bool Line, params object[] vars)
    Parameters
    Name Type Description
    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    Line bool

    Whether to print a new line or not

    vars object[]

    Variables to format the message before it's written.

    Write(string, bool, ThemeColorType, params object[])

    Outputs the text into the terminal prompt, and sets colors as needed.

    Declaration
    public static void Write(string Text, bool Line, ThemeColorType colorType = ThemeColorType.NeutralText, params object[] vars)
    Parameters
    Name Type Description
    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    Line bool

    Whether to print a new line or not

    colorType ThemeColorType

    A type of colors that will be changed.

    vars object[]

    Variables to format the message before it's written.

    Write(string, bool, ThemeColorType, ThemeColorType, params object[])

    Outputs the text into the terminal prompt, and sets colors as needed.

    Declaration
    public static void Write(string Text, bool Line, ThemeColorType colorTypeForeground = ThemeColorType.NeutralText, ThemeColorType colorTypeBackground = ThemeColorType.Background, params object[] vars)
    Parameters
    Name Type Description
    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    Line bool

    Whether to print a new line or not

    colorTypeForeground ThemeColorType

    A type of colors that will be changed for the foreground color.

    colorTypeBackground ThemeColorType

    A type of colors that will be changed for the background color.

    vars object[]

    Variables to format the message before it's written.

    Write(string, params object[])

    Outputs the text into the terminal prompt.

    Declaration
    public static void Write(string Text, params object[] vars)
    Parameters
    Name Type Description
    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    vars object[]

    Variables to format the message before it's written.

    Write(string, ThemeColorType, params object[])

    Outputs the text into the terminal prompt, and sets colors as needed.

    Declaration
    public static void Write(string Text, ThemeColorType colorType = ThemeColorType.NeutralText, params object[] vars)
    Parameters
    Name Type Description
    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    colorType ThemeColorType

    A type of colors that will be changed.

    vars object[]

    Variables to format the message before it's written.

    Write(string, ThemeColorType, ThemeColorType, params object[])

    Outputs the text into the terminal prompt, and sets colors as needed.

    Declaration
    public static void Write(string Text, ThemeColorType colorTypeForeground = ThemeColorType.NeutralText, ThemeColorType colorTypeBackground = ThemeColorType.Background, params object[] vars)
    Parameters
    Name Type Description
    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    colorTypeForeground ThemeColorType

    A type of colors that will be changed for the foreground color.

    colorTypeBackground ThemeColorType

    A type of colors that will be changed for the background color.

    vars object[]

    Variables to format the message before it's written.

    WriteColor(bool, string, Color, params object[])

    Outputs the text into the terminal prompt with custom color support.

    Declaration
    public static void WriteColor(bool legacy, string Text, Color color, params object[] vars)
    Parameters
    Name Type Description
    legacy bool

    Use RenderSetConsoleColor(Color, bool, bool, bool) instead of text formatting

    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    color Color

    A color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

    WriteColor(bool, string, bool, Color, params object[])

    Outputs the text into the terminal prompt with custom color support.

    Declaration
    public static void WriteColor(bool legacy, string Text, bool Line, Color color, params object[] vars)
    Parameters
    Name Type Description
    legacy bool

    Use RenderSetConsoleColor(Color, bool, bool, bool) instead of text formatting

    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    Line bool

    Whether to print a new line or not

    color Color

    A color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

    WriteColor(string, Color, params object[])

    Outputs the text into the terminal prompt with custom color support.

    Declaration
    public static void WriteColor(string Text, Color color, params object[] vars)
    Parameters
    Name Type Description
    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    color Color

    A color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

    WriteColor(string, bool, Color, params object[])

    Outputs the text into the terminal prompt with custom color support.

    Declaration
    public static void WriteColor(string Text, bool Line, Color color, params object[] vars)
    Parameters
    Name Type Description
    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    Line bool

    Whether to print a new line or not

    color Color

    A color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

    WriteColorBack(bool, string, Color, Color, params object[])

    Outputs the text into the terminal prompt with custom color support.

    Declaration
    public static void WriteColorBack(bool legacy, string Text, Color ForegroundColor, Color BackgroundColor, params object[] vars)
    Parameters
    Name Type Description
    legacy bool

    Use RenderSetConsoleColor(Color, bool, bool, bool) instead of text formatting

    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    ForegroundColor Color

    A foreground color that will be changed to.

    BackgroundColor Color

    A background color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

    WriteColorBack(bool, string, bool, Color, Color, params object[])

    Outputs the text into the terminal prompt with custom color support.

    Declaration
    public static void WriteColorBack(bool legacy, string Text, bool Line, Color ForegroundColor, Color BackgroundColor, params object[] vars)
    Parameters
    Name Type Description
    legacy bool

    Use RenderSetConsoleColor(Color, bool, bool, bool) instead of text formatting

    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    Line bool

    Whether to print a new line or not

    ForegroundColor Color

    A foreground color that will be changed to.

    BackgroundColor Color

    A background color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

    WriteColorBack(string, Color, Color, params object[])

    Outputs the text into the terminal prompt with custom color support.

    Declaration
    public static void WriteColorBack(string Text, Color ForegroundColor, Color BackgroundColor, params object[] vars)
    Parameters
    Name Type Description
    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    ForegroundColor Color

    A foreground color that will be changed to.

    BackgroundColor Color

    A background color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

    WriteColorBack(string, bool, Color, Color, params object[])

    Outputs the text into the terminal prompt with custom color support.

    Declaration
    public static void WriteColorBack(string Text, bool Line, Color ForegroundColor, Color BackgroundColor, params object[] vars)
    Parameters
    Name Type Description
    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    Line bool

    Whether to print a new line or not

    ForegroundColor Color

    A foreground color that will be changed to.

    BackgroundColor Color

    A background color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

    WriteForReader(bool, string, TermReaderSettings?, bool, params object[])

    Outputs the text into the terminal prompt. Use for TermReader custom bindings.

    Declaration
    public static void WriteForReader(bool legacy, string Text, TermReaderSettings? settings, bool Line, params object[] vars)
    Parameters
    Name Type Description
    legacy bool

    Use RenderSetConsoleColor(Color, bool, bool, bool) instead of text formatting

    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    settings TermReaderSettings

    Terminal reader settings

    Line bool

    Whether to print a new line or not

    vars object[]

    Variables to format the message before it's written.

    WriteForReader(bool, string, TermReaderSettings?, bool, ThemeColorType, params object[])

    Outputs the text into the terminal prompt with custom color support. Use for TermReader custom bindings.

    Declaration
    public static void WriteForReader(bool legacy, string Text, TermReaderSettings? settings, bool Line, ThemeColorType color = ThemeColorType.NeutralText, params object[] vars)
    Parameters
    Name Type Description
    legacy bool

    Use RenderSetConsoleColor(Color, bool, bool, bool) instead of text formatting

    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    settings TermReaderSettings

    Terminal reader settings

    Line bool

    Whether to print a new line or not

    color ThemeColorType

    A color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

    WriteForReader(bool, string, TermReaderSettings?, bool, ThemeColorType, ThemeColorType, params object[])

    Outputs the text into the terminal prompt with custom color support. Use for TermReader custom bindings.

    Declaration
    public static void WriteForReader(bool legacy, string Text, TermReaderSettings? settings, bool Line, ThemeColorType ForegroundColor = ThemeColorType.NeutralText, ThemeColorType BackgroundColor = ThemeColorType.Background, params object[] vars)
    Parameters
    Name Type Description
    legacy bool

    Use RenderSetConsoleColor(Color, bool, bool, bool) instead of text formatting

    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    settings TermReaderSettings

    Terminal reader settings

    Line bool

    Whether to print a new line or not

    ForegroundColor ThemeColorType

    A foreground color that will be changed to.

    BackgroundColor ThemeColorType

    A background color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

    WriteForReader(bool, string, TermReaderSettings?, params object[])

    Outputs the text into the terminal prompt. Use for TermReader custom bindings.

    Declaration
    public static void WriteForReader(bool legacy, string Text, TermReaderSettings? settings, params object[] vars)
    Parameters
    Name Type Description
    legacy bool

    Use RenderSetConsoleColor(Color, bool, bool, bool) instead of text formatting

    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    settings TermReaderSettings

    Terminal reader settings

    vars object[]

    Variables to format the message before it's written.

    WriteForReader(bool, string, TermReaderSettings?, ThemeColorType, params object[])

    Outputs the text into the terminal prompt with custom color support. Use for TermReader custom bindings.

    Declaration
    public static void WriteForReader(bool legacy, string Text, TermReaderSettings? settings, ThemeColorType color = ThemeColorType.NeutralText, params object[] vars)
    Parameters
    Name Type Description
    legacy bool

    Use RenderSetConsoleColor(Color, bool, bool, bool) instead of text formatting

    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    settings TermReaderSettings

    Terminal reader settings

    color ThemeColorType

    A color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

    WriteForReader(bool, string, TermReaderSettings?, ThemeColorType, ThemeColorType, params object[])

    Outputs the text into the terminal prompt with custom color support. Use for TermReader custom bindings.

    Declaration
    public static void WriteForReader(bool legacy, string Text, TermReaderSettings? settings, ThemeColorType ForegroundColor = ThemeColorType.NeutralText, ThemeColorType BackgroundColor = ThemeColorType.Background, params object[] vars)
    Parameters
    Name Type Description
    legacy bool

    Use RenderSetConsoleColor(Color, bool, bool, bool) instead of text formatting

    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    settings TermReaderSettings

    Terminal reader settings

    ForegroundColor ThemeColorType

    A foreground color that will be changed to.

    BackgroundColor ThemeColorType

    A background color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

    WriteForReader(string, TermReaderSettings?, bool, params object[])

    Outputs the text into the terminal prompt. Use for TermReader custom bindings.

    Declaration
    public static void WriteForReader(string Text, TermReaderSettings? settings, bool Line, params object[] vars)
    Parameters
    Name Type Description
    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    settings TermReaderSettings

    Terminal reader settings

    Line bool

    Whether to print a new line or not

    vars object[]

    Variables to format the message before it's written.

    WriteForReader(string, TermReaderSettings?, bool, ThemeColorType, params object[])

    Outputs the text into the terminal prompt with custom color support. Use for TermReader custom bindings.

    Declaration
    public static void WriteForReader(string Text, TermReaderSettings? settings, bool Line, ThemeColorType color = ThemeColorType.NeutralText, params object[] vars)
    Parameters
    Name Type Description
    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    settings TermReaderSettings

    Terminal reader settings

    Line bool

    Whether to print a new line or not

    color ThemeColorType

    A color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

    WriteForReader(string, TermReaderSettings?, bool, ThemeColorType, ThemeColorType, params object[])

    Outputs the text into the terminal prompt with custom color support. Use for TermReader custom bindings.

    Declaration
    public static void WriteForReader(string Text, TermReaderSettings? settings, bool Line, ThemeColorType ForegroundColor = ThemeColorType.NeutralText, ThemeColorType BackgroundColor = ThemeColorType.Background, params object[] vars)
    Parameters
    Name Type Description
    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    settings TermReaderSettings

    Terminal reader settings

    Line bool

    Whether to print a new line or not

    ForegroundColor ThemeColorType

    A foreground color that will be changed to.

    BackgroundColor ThemeColorType

    A background color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

    WriteForReader(string, TermReaderSettings?, params object[])

    Outputs the text into the terminal prompt. Use for TermReader custom bindings.

    Declaration
    public static void WriteForReader(string Text, TermReaderSettings? settings, params object[] vars)
    Parameters
    Name Type Description
    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    settings TermReaderSettings

    Terminal reader settings

    vars object[]

    Variables to format the message before it's written.

    WriteForReader(string, TermReaderSettings?, ThemeColorType, params object[])

    Outputs the text into the terminal prompt with custom color support. Use for TermReader custom bindings.

    Declaration
    public static void WriteForReader(string Text, TermReaderSettings? settings, ThemeColorType color = ThemeColorType.NeutralText, params object[] vars)
    Parameters
    Name Type Description
    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    settings TermReaderSettings

    Terminal reader settings

    color ThemeColorType

    A color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

    WriteForReader(string, TermReaderSettings?, ThemeColorType, ThemeColorType, params object[])

    Outputs the text into the terminal prompt with custom color support. Use for TermReader custom bindings.

    Declaration
    public static void WriteForReader(string Text, TermReaderSettings? settings, ThemeColorType ForegroundColor = ThemeColorType.NeutralText, ThemeColorType BackgroundColor = ThemeColorType.Background, params object[] vars)
    Parameters
    Name Type Description
    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    settings TermReaderSettings

    Terminal reader settings

    ForegroundColor ThemeColorType

    A foreground color that will be changed to.

    BackgroundColor ThemeColorType

    A background color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

    WriteForReaderColor(bool, string, TermReaderSettings?, Color, params object[])

    Outputs the text into the terminal prompt with custom color support. Use for TermReader custom bindings.

    Declaration
    public static void WriteForReaderColor(bool legacy, string Text, TermReaderSettings? settings, Color color, params object[] vars)
    Parameters
    Name Type Description
    legacy bool

    Use RenderSetConsoleColor(Color, bool, bool, bool) instead of text formatting

    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    settings TermReaderSettings

    Terminal reader settings

    color Color

    A color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

    WriteForReaderColor(bool, string, TermReaderSettings?, bool, Color, params object[])

    Outputs the text into the terminal prompt with custom color support. Use for TermReader custom bindings.

    Declaration
    public static void WriteForReaderColor(bool legacy, string Text, TermReaderSettings? settings, bool Line, Color color, params object[] vars)
    Parameters
    Name Type Description
    legacy bool

    Use RenderSetConsoleColor(Color, bool, bool, bool) instead of text formatting

    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    settings TermReaderSettings

    Terminal reader settings

    Line bool

    Whether to print a new line or not

    color Color

    A color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

    WriteForReaderColor(string, TermReaderSettings?, Color, params object[])

    Outputs the text into the terminal prompt with custom color support. Use for TermReader custom bindings.

    Declaration
    public static void WriteForReaderColor(string Text, TermReaderSettings? settings, Color color, params object[] vars)
    Parameters
    Name Type Description
    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    settings TermReaderSettings

    Terminal reader settings

    color Color

    A color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

    WriteForReaderColor(string, TermReaderSettings?, bool, Color, params object[])

    Outputs the text into the terminal prompt with custom color support. Use for TermReader custom bindings.

    Declaration
    public static void WriteForReaderColor(string Text, TermReaderSettings? settings, bool Line, Color color, params object[] vars)
    Parameters
    Name Type Description
    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    settings TermReaderSettings

    Terminal reader settings

    Line bool

    Whether to print a new line or not

    color Color

    A color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

    WriteForReaderColorBack(bool, string, TermReaderSettings?, Color, Color, params object[])

    Outputs the text into the terminal prompt with custom color support. Use for TermReader custom bindings.

    Declaration
    public static void WriteForReaderColorBack(bool legacy, string Text, TermReaderSettings? settings, Color ForegroundColor, Color BackgroundColor, params object[] vars)
    Parameters
    Name Type Description
    legacy bool

    Use RenderSetConsoleColor(Color, bool, bool, bool) instead of text formatting

    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    settings TermReaderSettings

    Terminal reader settings

    ForegroundColor Color

    A foreground color that will be changed to.

    BackgroundColor Color

    A background color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

    WriteForReaderColorBack(bool, string, TermReaderSettings?, bool, Color, Color, params object[])

    Outputs the text into the terminal prompt with custom color support. Use for TermReader custom bindings.

    Declaration
    public static void WriteForReaderColorBack(bool legacy, string Text, TermReaderSettings? settings, bool Line, Color ForegroundColor, Color BackgroundColor, params object[] vars)
    Parameters
    Name Type Description
    legacy bool

    Use RenderSetConsoleColor(Color, bool, bool, bool) instead of text formatting

    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    settings TermReaderSettings

    Terminal reader settings

    Line bool

    Whether to print a new line or not

    ForegroundColor Color

    A foreground color that will be changed to.

    BackgroundColor Color

    A background color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

    WriteForReaderColorBack(string, TermReaderSettings?, Color, Color, params object[])

    Outputs the text into the terminal prompt with custom color support. Use for TermReader custom bindings.

    Declaration
    public static void WriteForReaderColorBack(string Text, TermReaderSettings? settings, Color ForegroundColor, Color BackgroundColor, params object[] vars)
    Parameters
    Name Type Description
    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    settings TermReaderSettings

    Terminal reader settings

    ForegroundColor Color

    A foreground color that will be changed to.

    BackgroundColor Color

    A background color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

    WriteForReaderColorBack(string, TermReaderSettings?, bool, Color, Color, params object[])

    Outputs the text into the terminal prompt with custom color support. Use for TermReader custom bindings.

    Declaration
    public static void WriteForReaderColorBack(string Text, TermReaderSettings? settings, bool Line, Color ForegroundColor, Color BackgroundColor, params object[] vars)
    Parameters
    Name Type Description
    Text string

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    settings TermReaderSettings

    Terminal reader settings

    Line bool

    Whether to print a new line or not

    ForegroundColor Color

    A foreground color that will be changed to.

    BackgroundColor Color

    A background color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

    Show / Hide Table of Contents

    Table of contents



      About

      Copyright © 2014-2026 Aptivi

      Find us

    •  
    •  
    •  
    •  
    •  
    •  
    • Social media

    •  
    •  
    •  
    •