public static class WpfBridgeViewExtensions Creates child View sessions from the application's existing service provider.
Methods
CreateWpfViewAsync
public static ValueTask<WpfBridgeView<TViewModel>> CreateWpfViewAsync<TViewModel>(this IServiceProvider services, DesktopHost desktop, DesktopSurfaceOptions surfaceOptions, TViewModel viewModel, IRunicModelContext? modelContext = null, CancellationToken cancellationToken = default) where TViewModel : class Attaches the generated Bridge to an existing model without creating a model, DI scope, or navigation engine.
Remarks
The caller owns services, model, model context, and DesktopHost. This result owns only its surface and session.