IComponentPropertyActivator.GetActivator(Type) Método

Definición

Obtiene un delegado que activa las propiedades en un componente del tipo especificado.

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)

Parámetros

componentType
Type

Tipo de componente para el que se va a crear un activador.

Devoluciones

Delegado que toma una IServiceProvider instancia de y IComponent y rellena las propiedades inyectables del componente.

Se aplica a