IComponentPropertyActivator.GetActivator(Type) Method
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.
Gets a delegate that activates properties on a component of the specified type.
public Action<IServiceProvider,Microsoft.AspNetCore.Components.IComponent> GetActivator(Type componentType);
abstract member GetActivator : Type -> Action<IServiceProvider, Microsoft.AspNetCore.Components.IComponent>
Public Function GetActivator (componentType As Type) As Action(Of IServiceProvider, IComponent)
Parameters
- componentType
- Type
The type of component to create an activator for.
Returns
A delegate that takes an IServiceProvider and an IComponent instance, and populates the component's injectable properties.