Skip to content
ConsoleMonster

API Reference

Class

LiveTableHandle

Namespace ConsoleMonster.Widgets
Assembly ConsoleMonster
Modifiers sealed

Changes the rows of a LiveTable through the live session's update queue (thread-safe).

Inheritance

Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 1

Constructors

public LiveTableHandle(ILiveDispatcher dispatcher, String target) #

Creates a handle.

Parameters

dispatcher ConsoleMonster.Live.ILiveDispatcher requiredposition: 0
The dispatcher (a live session).
target System.String requiredposition: 1
The live table name.

Methods

public Void AddRow(String key, params Object?[] values) #
Returns: Void

Adds a row (or replaces the row with that key).

Parameters

key System.String requiredposition: 0
The stable row key.
values System.Object?[] requiredposition: 1
The values, one per column (raw values go through the column presenters).
public Void Clear() #
Returns: Void

Removes every row; the column widths stay.

public Void RemoveRow(String key) #
Returns: Void

Removes the row with that key.

Parameters

key System.String requiredposition: 0
The row key.
public Void UpdateRow(String key, params Object?[] values) #
Returns: Void

Replaces the values of the row with that key (or adds it).

Parameters

key System.String requiredposition: 0
The row key.
values System.Object?[] requiredposition: 1
The new values.