次の方法で共有


IComponentPropertyActivator.GetActivator(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)

パラメーター

componentType
Type

アクティベーターを作成するコンポーネントの種類。

返品

IServiceProviderIComponent インスタンスを受け取り、コンポーネントの挿入可能なプロパティを設定するデリゲート。

適用対象