Class CompositeBlazorContentControlConfigurator
Reactive composite that aggregates multiple IBlazorContentControlConfigurator instances. Allows dynamic addition/removal of configurators and invokes them in registration order.
Inheritance
Inherited Members
Namespace: PoeShared.Blazor.Wpf
Assembly: PoeShared.Blazor.Wpf.dll
Syntax
public sealed class CompositeBlazorContentControlConfigurator : DisposableReactiveObjectWithLogger, IDisposable, INotifyPropertyChanged, IBlazorContentControlConfigurator
Constructors
Name | Description |
---|---|
CompositeBlazorContentControlConfigurator() |
Properties
Name | Description |
---|---|
Configurators | Current snapshot of active configurators. |
Methods
Name | Description |
---|---|
Add(IBlazorContentControlConfigurator) | Adds a configurator to the composite. Returns a disposable to remove it. |
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. |