Share via


IComponentPropertyActivator Interface

Definition

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.

Applies to