Class BlazorContentControlConfiguratorBase
Base class for implementing IBlazorContentControlConfigurator with no-op defaults.
This class is intended to simplify the creation of configurators by allowing implementers to override only the lifecycle stages they are interested in.
Implements
Inherited Members
Namespace: PoeShared.Blazor.Wpf
Assembly: PoeShared.Blazor.Wpf.dll
Syntax
public abstract class BlazorContentControlConfiguratorBase : IBlazorContentControlConfigurator
Constructors
Name | Description |
---|---|
BlazorContentControlConfiguratorBase() |
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. |