public static class ReactiveUIBuilderExtensions Configures ReactiveUI's builder for Runic windows.
Methods
WithRunicModelContext
public static IReactiveUIBuilder WithRunicModelContext(this IReactiveUIBuilder builder) Makes ReactiveUI's main-thread scheduler the model-context scheduler that ReactiveServiceCollectionExtensions.AddRunicReactiveModelContext installs, as WithAvalonia(), WithMaui() and WithWpf() set their platform's scheduler. Use it when the application already builds ReactiveUI with RxAppBuilder.CreateReactiveUIBuilder(): BuildApp() then keeps Runic's scheduler instead of replacing it with ReactiveUI's default.
Parameters
builderThe ReactiveUI builder.
Returns
The builder, for chaining.
Remarks
The builder applies the scheduler in BuildApp(), through WithMainThreadScheduler, so a later WithMainThreadScheduler call on the same builder replaces it. Still call ReactiveServiceCollectionExtensions.AddRunicReactiveModelContext, which registers the model context and its scheduler; both calls use the same scheduler.