Search Results for

    Class ListEntryWriterColor

    List entry writer with color support

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


    Methods

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

    Renders a list entry and value.

    Returns
    string

    A list entry without the new line at the end

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

    A list entry that will be listed.

    value string

    A list value that will be listed.

    ListKeyColor Color

    A key color.

    ListValueColor Color

    A value color.

    indent int

    Indentation level

    needsIndent bool

    Whether to draw the indentation indicator or not

    RenderListEntry(string, string, ThemeColorType, ThemeColorType, int, bool)

    Renders a list entry and value.

    Returns
    string

    A list entry without the new line at the end

    Declaration
    public static string RenderListEntry(string entry, string value, ThemeColorType ListKeyColor = ThemeColorType.ListEntry, ThemeColorType ListValueColor = ThemeColorType.ListValue, int indent = 0, bool needsIndent = true)
    Parameters
    Name Type Description
    entry string

    A list entry that will be listed.

    value string

    A list value that will be listed.

    ListKeyColor ThemeColorType

    A key color.

    ListValueColor ThemeColorType

    A value color.

    indent int

    Indentation level

    needsIndent bool

    Whether to draw the indentation indicator or not

    RenderListEntryPlain(string, string, int, bool)

    Renders a list entry and value.

    Returns
    string

    A list entry without the new line at the end

    Declaration
    public static string RenderListEntryPlain(string entry, string value, int indent = 0, bool needsIndent = true)
    Parameters
    Name Type Description
    entry string

    A list entry that will be listed.

    value string

    A list value that will be listed.

    indent int

    Indentation level

    needsIndent bool

    Whether to draw the indentation indicator or not

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

    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, bool needsIndent = true)
    Parameters
    Name Type Description
    entry string

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

    value string

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

    ListKeyColor Color

    A key color.

    ListValueColor Color

    A value color.

    indent int

    Indentation level

    needsIndent bool

    Whether to draw the indentation indicator or not

    WriteListEntry(string, string, ThemeColorType, ThemeColorType, int, bool)

    Outputs a list entry and value into the terminal prompt.

    Declaration
    public static void WriteListEntry(string entry, string value, ThemeColorType ListKeyColor = ThemeColorType.ListEntry, ThemeColorType ListValueColor = ThemeColorType.ListValue, int indent = 0, bool needsIndent = true)
    Parameters
    Name Type Description
    entry string

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

    value string

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

    ListKeyColor ThemeColorType

    A key color.

    ListValueColor ThemeColorType

    A value color.

    indent int

    Indentation level

    needsIndent bool

    Whether to draw the indentation indicator or not

    WriteListEntryPlain(string, string, int, bool)

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

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

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

    value string

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

    indent int

    Indentation level

    needsIndent bool

    Whether to draw the indentation indicator or not

    Show / Hide Table of Contents

    Table of contents



      About

      Copyright © 2014-2026 Aptivi

      Find us

    •  
    •  
    •  
    •  
    •  
    •  
    • Social media

    •  
    •  
    •  
    •