Skip to content
ConsoleMonster
Class

KeyValueHandle

ConsoleMonster.Widgets

Namespace
ConsoleMonster.Widgets
Assembly
ConsoleMonster
Modifiers
sealed

Thread-safe live handle for a KeyValueList.

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 KeyValueHandle(ILiveDispatcher dispatcher, string widgetId) #

Creates a handle.

Parameters

dispatcher ConsoleMonster.Live.ILiveDispatcher required
The dispatcher.
widgetId string required
The list name.

Methods

public void Set(string key, string value, StatusKind? status = null) #

Adds or replaces a pair.

Parameters

key string required
The key.
value string required
The value (markup).
status ConsoleMonster.Styling.StatusKind? = null optional
An optional status.