Search Results for

    Class ListWriterColor

    List writer with color support

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


    Methods

    RenderListPlain<T>(IEnumerable<T>)

    Renders a list and value.

    Returns
    string

    A list without the new line at the end

    Declaration
    public static string RenderListPlain<T>(IEnumerable<T> List)
    Parameters
    Name Type Description
    List IEnumerable<T>

    An enumerable that will be listed to the terminal prompt.

    Type Parameters
    Name Description
    T

    RenderListPlain<TKey, TValue>(Dictionary<TKey, TValue>)

    Renders a list and value.

    Returns
    string

    A list without the new line at the end

    Declaration
    public static string RenderListPlain<TKey, TValue>(Dictionary<TKey, TValue> List)
    Parameters
    Name Type Description
    List Dictionary<TKey, TValue>

    A dictionary that will be listed to the terminal prompt.

    Type Parameters
    Name Description
    TKey
    TValue

    RenderList<T>(IEnumerable<T>, Color, Color)

    Renders a list and value.

    Returns
    string

    A list without the new line at the end

    Declaration
    public static string RenderList<T>(IEnumerable<T> List, Color ListKeyColor, Color ListValueColor)
    Parameters
    Name Type Description
    List IEnumerable<T>

    An enumerable that will be listed to the terminal prompt.

    ListKeyColor Color

    A key color.

    ListValueColor Color

    A value color.

    Type Parameters
    Name Description
    T

    RenderList<T>(IEnumerable<T>, ThemeColorType, ThemeColorType)

    Renders a list and value.

    Returns
    string

    A list without the new line at the end

    Declaration
    public static string RenderList<T>(IEnumerable<T> List, ThemeColorType ListKeyColor = ThemeColorType.ListEntry, ThemeColorType ListValueColor = ThemeColorType.ListValue)
    Parameters
    Name Type Description
    List IEnumerable<T>

    An enumerable that will be listed to the terminal prompt.

    ListKeyColor ThemeColorType

    A key color.

    ListValueColor ThemeColorType

    A value color.

    Type Parameters
    Name Description
    T

    RenderList<TKey, TValue>(Dictionary<TKey, TValue>, Color, Color)

    Renders a list and value.

    Returns
    string

    A list without the new line at the end

    Declaration
    public static string RenderList<TKey, TValue>(Dictionary<TKey, TValue> List, Color ListKeyColor, Color ListValueColor)
    Parameters
    Name Type Description
    List Dictionary<TKey, TValue>

    A dictionary that will be listed to the terminal prompt.

    ListKeyColor Color

    A key color.

    ListValueColor Color

    A value color.

    Type Parameters
    Name Description
    TKey
    TValue

    RenderList<TKey, TValue>(Dictionary<TKey, TValue>, ThemeColorType, ThemeColorType)

    Renders a list and value.

    Returns
    string

    A list without the new line at the end

    Declaration
    public static string RenderList<TKey, TValue>(Dictionary<TKey, TValue> List, ThemeColorType ListKeyColor = ThemeColorType.ListEntry, ThemeColorType ListValueColor = ThemeColorType.ListValue)
    Parameters
    Name Type Description
    List Dictionary<TKey, TValue>

    A dictionary that will be listed to the terminal prompt.

    ListKeyColor ThemeColorType

    A key color.

    ListValueColor ThemeColorType

    A value color.

    Type Parameters
    Name Description
    TKey
    TValue

    WriteListPlain<T>(IEnumerable<T>)

    Outputs a list and value into the terminal prompt plainly.

    Declaration
    public static void WriteListPlain<T>(IEnumerable<T> List)
    Parameters
    Name Type Description
    List IEnumerable<T>

    An enumerable that will be listed to the terminal prompt.

    Type Parameters
    Name Description
    T

    WriteListPlain<TKey, TValue>(Dictionary<TKey, TValue>)

    Outputs a list and value into the terminal prompt plainly.

    Declaration
    public static void WriteListPlain<TKey, TValue>(Dictionary<TKey, TValue> List)
    Parameters
    Name Type Description
    List Dictionary<TKey, TValue>

    A dictionary that will be listed to the terminal prompt.

    Type Parameters
    Name Description
    TKey
    TValue

    WriteList<T>(IEnumerable<T>, Color, Color)

    Outputs a list and value into the terminal prompt.

    Declaration
    public static void WriteList<T>(IEnumerable<T> List, Color ListKeyColor, Color ListValueColor)
    Parameters
    Name Type Description
    List IEnumerable<T>

    An enumerable that will be listed to the terminal prompt.

    ListKeyColor Color

    A key color.

    ListValueColor Color

    A value color.

    Type Parameters
    Name Description
    T

    WriteList<T>(IEnumerable<T>, ThemeColorType, ThemeColorType)

    Outputs a list and value into the terminal prompt.

    Declaration
    public static void WriteList<T>(IEnumerable<T> List, ThemeColorType ListKeyColor = ThemeColorType.ListEntry, ThemeColorType ListValueColor = ThemeColorType.ListValue)
    Parameters
    Name Type Description
    List IEnumerable<T>

    An enumerable that will be listed to the terminal prompt.

    ListKeyColor ThemeColorType

    A key color.

    ListValueColor ThemeColorType

    A value color.

    Type Parameters
    Name Description
    T

    WriteList<TKey, TValue>(Dictionary<TKey, TValue>, Color, Color)

    Outputs a list and value into the terminal prompt.

    Declaration
    public static void WriteList<TKey, TValue>(Dictionary<TKey, TValue> List, Color ListKeyColor, Color ListValueColor)
    Parameters
    Name Type Description
    List Dictionary<TKey, TValue>

    A dictionary that will be listed to the terminal prompt.

    ListKeyColor Color

    A key color.

    ListValueColor Color

    A value color.

    Type Parameters
    Name Description
    TKey
    TValue

    WriteList<TKey, TValue>(Dictionary<TKey, TValue>, ThemeColorType, ThemeColorType)

    Outputs a list and value into the terminal prompt.

    Declaration
    public static void WriteList<TKey, TValue>(Dictionary<TKey, TValue> List, ThemeColorType ListKeyColor = ThemeColorType.ListEntry, ThemeColorType ListValueColor = ThemeColorType.ListValue)
    Parameters
    Name Type Description
    List Dictionary<TKey, TValue>

    A dictionary that will be listed to the terminal prompt.

    ListKeyColor ThemeColorType

    A key color.

    ListValueColor ThemeColorType

    A value color.

    Type Parameters
    Name Description
    TKey
    TValue
    Show / Hide Table of Contents

    Table of contents



      About

      Copyright © 2014-2026 Aptivi

      Find us

    •  
    •  
    •  
    •  
    •  
    •  
    • Social media

    •  
    •  
    •  
    •