Skip to content
ConsoleMonster
Class

ConsoleUpdate

ConsoleMonster.Live

Namespace
ConsoleMonster.Live
Assembly
ConsoleMonster
Modifiers
static

Validates a complete high-level update before publishing any of its existing protocol events.

Inheritance

  • object
  • ConsoleUpdate

Methods

Apply 2 overloads
public static void Apply(LiveSession session, string widgetId, WidgetUpdate update) #

Applies a validated update to an addressed session target.

Parameters

session ConsoleMonster.Live.LiveSession required
The session which owns the widget.
widgetId string required
The registered widget identifier.
update ConsoleMonster.Live.WidgetUpdate required
Only explicitly set fields participate in the update.
public static void Apply(LiveRun run, RunUpdate update) #

Updates one caller-managed run item through the same operation used by PowerShell.

Parameters

run ConsoleMonster.Live.LiveRun required
The caller-managed run.
update ConsoleMonster.Live.RunUpdate required
The item position, state, label and detail.