Table of Contents

Class AppOrchestrator

Namespace
EchoHub.Client
Assembly
EchoHub.Client.dll

Central orchestrator for the EchoHub TUI client. Wires UI events to service calls and connection events to UI updates.

public sealed class AppOrchestrator : IDisposable
Inheritance
AppOrchestrator
Implements
Inherited Members

Constructors

AppOrchestrator(IApplication, ClientConfig)

public AppOrchestrator(IApplication app, ClientConfig config)

Parameters

app IApplication
config ClientConfig

Properties

MainWindow

public MainWindow MainWindow { get; }

Property Value

MainWindow

PendingUpdate

Set when the user confirms an update. The host must run this after the Terminal.Gui main loop exits (console restored), so the updater's in-place restart doesn't fight the TUI.

public Func<Task>? PendingUpdate { get; }

Property Value

Func<Task>

Methods

Dispose()

public void Dispose()