Class AppOrchestrator
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
appIApplicationconfigClientConfig
Properties
MainWindow
public MainWindow MainWindow { get; }
Property Value
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()