Class
DiagramHandle
ConsoleMonster.Widgets
Posts diagram changes through the same live-update contract as PowerShell.
Inheritance
- LiveHandle
- DiagramHandle
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 Diagram.Handle
Constructors
public DiagramHandle(ILiveDispatcher dispatcher, string widgetId) #Creates a handle for a live diagram.
Parameters
- dispatcher ConsoleMonster.Live.ILiveDispatcher
- widgetId string
Methods
public void Value(string node, string? text, StatusKind? status = null) #Updates a component's third line and optionally its status.
Parameters
- node string
- text string?
- status ConsoleMonster.Styling.StatusKind? = null
Exceptions
ArgumentException– The node key is null, empty or whitespace. Validation runs before the update is queued.