IComponentPropertyActivator Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides a mechanism for activating properties on Blazor component instances.
public interface IComponentPropertyActivator
type IComponentPropertyActivator = interface
Public Interface IComponentPropertyActivator
Remarks
This interface allows customization of how properties marked with InjectAttribute are populated on component instances. The default implementation uses the IServiceProvider to resolve services for injection.
Methods
| Name | Description |
|---|---|
| GetActivator(Type) |
Gets a delegate that activates properties on a component of the specified type. |