Class Listing<T>
Listing renderable
Inheritance
Inherited Members
Namespace
Syntax
public class Listing<T> : Listing
Type Parameters
| Name | Description |
|---|---|
| T |
Properties
Objects
A list or an array of objects
Property Value
IEnumerable<T>
Declaration
public IEnumerable<T>? Objects { get; set; }
Stringifier
A stringifier function that converts the object based on its type to a string
Property Value
Func<T, string>
Declaration
public Func<T, string>? Stringifier { get; set; }
Methods
Render()
Renders a list of elements from an array of objects
Returns
string
Rendered text that will be used by the renderer
Declaration
public override string Render()