Class
StatusListHandle
ConsoleMonster.Widgets
Thread-safe live handle for a StatusList.
Inheritance
- LiveHandle
- StatusListHandle
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
- Method StatusList.Handle
Constructors
public StatusListHandle(ILiveDispatcher dispatcher, string widgetId) #Creates a handle.
Parameters
- dispatcher ConsoleMonster.Live.ILiveDispatcher
- The dispatcher.
- widgetId string
- The list name.
Methods
public void Detail(string key, string detail) #Sets the right-aligned detail of a row.
Parameters
- key string
- Row key.
- detail string
- Detail text.
public void Set(string key, StatusKind status, string? label = null) #Adds or updates a row.
Parameters
- key string
- Row key.
- status ConsoleMonster.Styling.StatusKind
- Status.
- label string? = null
- Label (markup), or null to keep it.