Skip to content

IWantsToRegisterStuff.Register(IRegistrar) method

Defined in

Type: IWantsToRegisterStuff Namespace: ReactiveUI Assembly: ReactiveUI.Core.dll

Applies to

net10.0, net9.0, net8.0, net462, net481

void Register(IRegistrar registrar)

Summary: Register platform dependencies using the provided registrar. This method uses generic registration to avoid runtime Type reflection, making it compatible with AOT compilation and trimming.

Parameters

NameTypeDescription
registrar[IRegistrar](#The AOT-friendly registrar to use for registering services.