Search Results for

    Show / Hide Table of Contents

    Class Listing

    Listing renderable

    Inheritance
    object
    CyclicWriter
    SimpleCyclicWriter
    Listing
    Namespace: Terminaux.Writer.CyclicWriters.Simple
    Assembly: Terminaux.dll
    Syntax
    public class Listing : SimpleCyclicWriter

    Constructors

    | Edit this page View Source

    Listing()

    Makes a new instance of the array element list renderer

    Declaration
    public Listing()

    Properties

    | Edit this page View Source

    KeyColor

    List key color

    Declaration
    public Color KeyColor { get; set; }
    Property Value
    Type Description
    Color
    | Edit this page View Source

    KeyStringifier

    A stringifier function that converts the object (a key in the dictionary) based on its type to a string

    Declaration
    public Func<object, string>? KeyStringifier { get; set; }
    Property Value
    Type Description
    Func<object, string>
    | Edit this page View Source

    Objects

    A list or an array of objects

    Declaration
    public IEnumerable? Objects { get; set; }
    Property Value
    Type Description
    IEnumerable
    | Edit this page View Source

    RecursiveStringifier

    A stringifier function that converts the object based on an array or an enumerable to a string

    Declaration
    public Func<object, string>? RecursiveStringifier { get; set; }
    Property Value
    Type Description
    Func<object, string>
    | Edit this page View Source

    Stringifier

    A stringifier function that converts the object based on its type to a string

    Declaration
    public Func<object, string>? Stringifier { get; set; }
    Property Value
    Type Description
    Func<object, string>
    | Edit this page View Source

    UseColors

    Whether to use colors or not

    Declaration
    public bool UseColors { get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    ValueColor

    List value color

    Declaration
    public Color ValueColor { get; set; }
    Property Value
    Type Description
    Color
    | Edit this page View Source

    ValueStringifier

    A stringifier function that converts the object (a value in the dictionary) based on its type to a string

    Declaration
    public Func<object, string>? ValueStringifier { get; set; }
    Property Value
    Type Description
    Func<object, string>

    Methods

    | Edit this page View Source

    Render()

    Renders a list of elements from an array of objects

    Declaration
    public override string Render()
    Returns
    Type Description
    string

    Rendered text that will be used by the renderer

    Overrides
    CyclicWriter.Render()
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX