Skip to content

IWantsToRegisterStuff.Register(IRegistrar) method

Defined in

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

Applies to

net11.0, net10.0, net47, net471, net472, net481, net48

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.