IReactiveUIInstance interface¶
Defined in
Namespace: ReactiveUI.Reactive.Builder
Assembly: ReactiveUI.Reactive.dll
Full name: ReactiveUI.Reactive.Builder.IReactiveUIInstance
Modifiers: public abstract
Summary¶
Defines an application instance that provides access to schedulers for UI and background operations in a reactive
programming context.
Applies to
net10.0, net10.0-maccatalyst26.0, net10.0-desktop1.0, net10.0-browserwasm1.0, net10.0-tvos26.0, net10.0-windows10.0.19041, net10.0-macos26.0, net10.0-ios26.0, net10.0-android36.0, net9.0, net9.0-tvos18.0, net9.0-macos15.0, net9.0-maccatalyst18.0, net9.0-windows10.0.19041, net9.0-ios18.0, net9.0-desktop1.0, net8.0, net8.0-windows10.0.19041, net8.0-ios18.0, net8.0-maccatalyst18.0, net8.0-macos15.0, net8.0-tvos18.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.5, netstandard2.1, net481, net462, net471
Class hierarchy
classDiagram
class IReactiveUIInstance
class IAppInstance {
<>
}
IAppInstance <|.. IReactiveUIInstance
Implements: IAppInstance
Remarks¶
Implementations of this interface supply schedulers that allow code to schedule work on the UI thread or on background threads, facilitating reactive and asynchronous programming patterns. The specific scheduler implementations may vary depending on the application's execution mode (e.g., normal runtime or unit testing).
Properties¶
| Name | Summary |
|---|---|
| MainThreadScheduler | Gets a scheduler used to schedule work items that should be run "on the UI thread". In normal mode, this will be DispatcherScheduler, and in Unit Test mode this will be... |
| TaskpoolScheduler | Gets the a the scheduler used to schedule work items to run in a background thread. In both modes, this will run on the TPL Task Pool. |
Extension members¶
BuilderMixins.WithInstanceBuilderMixins.WithInstanceBuilderMixins.WithInstanceBuilderMixins.WithInstanceBuilderMixins.WithInstanceBuilderMixins.WithInstanceBuilderMixins.WithInstanceBuilderMixins.WithInstanceBuilderMixins.WithInstanceBuilderMixins.WithInstanceBuilderMixins.WithInstanceBuilderMixins.WithInstanceBuilderMixins.WithInstanceBuilderMixins.WithInstanceBuilderMixins.WithInstanceBuilderMixins.WithInstance