Search Results for

    Show / Hide Table of Contents

    Class ListEntryWriterColor

    List entry writer with color support

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

    Methods

    | Edit this page View Source

    RenderListEntry(string, string, int)

    Renders a list entry and value.

    Declaration
    public static string RenderListEntry(string entry, string value, int indent = 0)
    Parameters
    Type Name Description
    string entry

    A list entry that will be listed.

    string value

    A list value that will be listed.

    int indent

    Indentation level

    Returns
    Type Description
    string

    A list entry without the new line at the end

    | Edit this page View Source

    RenderListEntry(string, string, Color, Color, int)

    Renders a list entry and value.

    Declaration
    public static string RenderListEntry(string entry, string value, Color ListKeyColor, Color ListValueColor, int indent = 0)
    Parameters
    Type Name Description
    string entry

    A list entry that will be listed.

    string value

    A list value that will be listed.

    Color ListKeyColor

    A key color.

    Color ListValueColor

    A value color.

    int indent

    Indentation level

    Returns
    Type Description
    string

    A list entry without the new line at the end

    | Edit this page View Source

    WriteListEntry(string, string, int)

    Outputs a list entry and value into the terminal prompt.

    Declaration
    public static void WriteListEntry(string entry, string value, int indent = 0)
    Parameters
    Type Name Description
    string entry

    A list entry that will be listed to the terminal prompt.

    string value

    A list value that will be listed to the terminal prompt.

    int indent

    Indentation level

    | Edit this page View Source

    WriteListEntry(string, string, Color, Color, int)

    Outputs a list entry and value into the terminal prompt.

    Declaration
    public static void WriteListEntry(string entry, string value, Color ListKeyColor, Color ListValueColor, int indent = 0)
    Parameters
    Type Name Description
    string entry

    A list entry that will be listed to the terminal prompt.

    string value

    A list value that will be listed to the terminal prompt.

    Color ListKeyColor

    A key color.

    Color ListValueColor

    A value color.

    int indent

    Indentation level

    | Edit this page View Source

    WriteListEntryPlain(string, string, int)

    Outputs a list entry and value into the terminal prompt plainly.

    Declaration
    public static void WriteListEntryPlain(string entry, string value, int indent = 0)
    Parameters
    Type Name Description
    string entry

    A list entry that will be listed to the terminal prompt.

    string value

    A list value that will be listed to the terminal prompt.

    int indent

    Indentation level

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