Interface IBlazorContentControlConfigurator
Defines extension points for configuring and initializing a BlazorContentControl. Implement this interface to hook into the control's lifecycle stages such as configuration start, service registration, and post-initialization.
Namespace: PoeShared.Blazor.Wpf
Assembly: PoeShared.Blazor.Wpf.dll
Syntax
public interface IBlazorContentControlConfigurator
Methods
Name | Description |
---|---|
OnConfiguringAsync() | Called at the very beginning of the control's initialization process. This method is invoked before any services are registered or any containers are built. It can be used to configure control-level state or prepare external inputs. |
OnInitializedAsync(IServiceProvider) | Called after the IServiceProvider has been fully constructed and assigned to the control. This phase is appropriate for resolving services, accessing runtime state, and performing post-configuration logic. |
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. |