Search Results for

    Show / Hide Table of Contents

    Class SeparatorWriterColor

    Separator writer

    Inheritance
    object
    SeparatorWriterColor
    Namespace: Terminaux.Writer.ConsoleWriters
    Assembly: Terminaux.dll
    Syntax
    public static class SeparatorWriterColor

    Methods

    | Edit this page View Source

    RenderSeparator(string, params object[])

    Renders a separator with text

    Declaration
    public static string RenderSeparator(string Text, params object[] Vars)
    Parameters
    Type Name Description
    string Text

    Text to be written. If nothing, the entire line is filled with the separator.

    object[] Vars

    Variables to format the message before it's written.

    Returns
    Type Description
    string
    | Edit this page View Source

    RenderSeparator(string, Color, params object[])

    Renders a separator with text

    Declaration
    public static string RenderSeparator(string Text, Color ForegroundColor, params object[] Vars)
    Parameters
    Type Name Description
    string Text

    Text to be written. If nothing, the entire line is filled with the separator.

    Color ForegroundColor

    A foreground color that will be changed to.

    object[] Vars

    Variables to format the message before it's written.

    Returns
    Type Description
    string
    | Edit this page View Source

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

    Renders a separator with text

    Declaration
    public static string RenderSeparator(string Text, Color ForegroundColor, Color BackgroundColor, params object[] Vars)
    Parameters
    Type Name Description
    string Text

    Text to be written. If nothing, the entire line is filled with the separator.

    Color ForegroundColor

    A foreground color that will be changed to.

    Color BackgroundColor

    A background color that will be changed to.

    object[] Vars

    Variables to format the message before it's written.

    Returns
    Type Description
    string
    | Edit this page View Source

    WriteSeparator(string, bool, params object[])

    Draw a separator with text

    Declaration
    public static void WriteSeparator(string Text, bool line = true, params object[] Vars)
    Parameters
    Type Name Description
    string Text

    Text to be written. If nothing, the entire line is filled with the separator.

    bool line

    Whether to write a new line or not

    object[] Vars

    Variables to format the message before it's written.

    | Edit this page View Source

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

    Draw a separator with text

    Declaration
    public static void WriteSeparatorColor(string Text, Color Color, bool line = true, params object[] Vars)
    Parameters
    Type Name Description
    string Text

    Text to be written. If nothing, the entire line is filled with the separator.

    Color Color

    A color that will be changed to.

    bool line

    Whether to write a new line or not

    object[] Vars

    Variables to format the message before it's written.

    | Edit this page View Source

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

    Draw a separator with text

    Declaration
    public static void WriteSeparatorColorBack(string Text, Color ForegroundColor, Color BackgroundColor, bool line = true, params object[] Vars)
    Parameters
    Type Name Description
    string Text

    Text to be written. If nothing, the entire line is filled with the separator.

    Color ForegroundColor

    A foreground color that will be changed to.

    Color BackgroundColor

    A background color that will be changed to.

    bool line

    Whether to write a new line or not

    object[] Vars

    Variables to format the message before it's written.

    | Edit this page View Source

    WriteSeparatorPlain(string, bool, params object[])

    Draw a separator with text plainly

    Declaration
    public static void WriteSeparatorPlain(string Text, bool line = true, params object[] Vars)
    Parameters
    Type Name Description
    string Text

    Text to be written. If nothing, the entire line is filled with the separator.

    bool line

    Whether to write a new line or not

    object[] Vars

    Variables to format the message before it's written.

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX