API Reference
Class
LiveTableFluent
The fluent methods of LiveTable, generated from its public properties: With... sets a property and Add... adds to a collection, both returning the same instance.
Inheritance
- Object
- LiveTableFluent
Methods
public static LiveTable WithMaxRows(LiveTable liveTable, Int32 value) #Returns:
LiveTableSets LiveTable.MaxRows: Keeps only the most recently added rows (0, the default, keeps them all): a bounded "recent N" window.
Parameters
- liveTable ConsoleMonster.Widgets.LiveTable
- The instance.
- value System.Int32
- The value.
Returns
The same instance.
public static LiveTable WithSortColumn(LiveTable liveTable, Int32? value) #Returns:
LiveTableSets LiveTable.SortColumn: The column index to keep rows sorted by, or null (default) for insertion order.
Parameters
- liveTable ConsoleMonster.Widgets.LiveTable
- The instance.
- value System.Int32?
- The value.
Returns
The same instance.
public static LiveTable WithSortDescending(LiveTable liveTable, Boolean value = true) #Returns:
LiveTableSets LiveTable.SortDescending: Whether LiveTable.SortColumn sorts from the largest value down.
Parameters
- liveTable ConsoleMonster.Widgets.LiveTable
- The instance.
- value System.Boolean = true
- The value (default true).
Returns
The same instance.
public static LiveTable WithTable(LiveTable liveTable, Action<Table> configure) #Returns:
LiveTableConfigures LiveTable.Table in place: The table that defines the columns, presenters and options.
Parameters
- liveTable ConsoleMonster.Widgets.LiveTable
- The instance.
- configure System.Action<ConsoleMonster.Widgets.Table>
- Configures the value.
Returns
The same instance.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?