Registrations class¶
Defined in
Namespace: ReactiveUI.WinUI
Assembly: ReactiveUI.WinUI.dll
Full name: ReactiveUI.WinUI.Registrations
Modifiers: public
Summary¶
The main registration for common classes for the Splat dependency injection.
We have code that runs reflection through the different ReactiveUI classes
searching for IWantsToRegisterStuff and will register all our required DI
interfaces. The registered items in this classes are common for all Platforms.
To get these registrations after the main ReactiveUI Initialization use the
DependencyResolverMixins.InitializeReactiveUI() extension method.
Applies to
net10.0-windows10.0.19041, net9.0-windows10.0.19041
Class hierarchy
classDiagram
class Registrations
class IWantsToRegisterStuff {
<>
}
IWantsToRegisterStuff <|.. Registrations
Implements: IWantsToRegisterStuff
Constructors¶
| Name | Summary |
|---|---|
| .ctor |
Methods¶
| Name | Summary |
|---|---|
| Register | Register platform dependencies using the provided registrar. This method uses generic registration to avoid runtime Type reflection, making it compatible with AOT... |