Method OnRegisteringServicesAsync
OnRegisteringServicesAsync(IServiceCollection)
Called during the service registration phase. This allows the configurator to register additional services into the IServiceCollection that will be used to construct the Blazor DI container.
Declaration
Task OnRegisteringServicesAsync(IServiceCollection serviceCollection)
Parameters
| Type | Name | Description |
|---|---|---|
| IServiceCollection | serviceCollection | The service collection to which additional services can be added. |
Returns
| Type | Description |
|---|---|
| Task | A task that completes when service registration is done. |