Runic.Application.Views.CsWebUi
CsWebUiBridgeExtensionsclassCreates Bridge transports for CS-WebUI windows.
CsWebUiBridgeWindow<TViewModel>classOwns one CS-WebUI window, its DI scope, and its Bridge attachments.
CsWebUiBridgeWindowExtensionsclassOpens CS-WebUI Bridge windows from a service provider.
CsWebUiConfigurationExceptionclassReports a CS-WebUI Window configuration that failed a check before the window opened.
CsWebUiWindow<TViewModel>classBase class for an application Window presented by CS-WebUI. Declare one partial subclass per Window to select its root View contract: Open it with
provider.OpenWindow<MainWindow, MainViewModel>(host => new MainWindow(host))and release it withawait usingorCsWebUiWindow.DisposeAsync. The members forward toCsWebUiWindow.Host, which owns the native window, its DI scope, and its Bridge attachments.RebindableBridgeTransportclassKeeps each native route for a window while Bridge attachments replace its managed handler. Dispose this transport before disposing the window.