語言

IComponentPropertyActivator 介面

定義

提供一種機制來啟動 Blazor 元件實例的屬性。

public interface IComponentPropertyActivator
type IComponentPropertyActivator = interface
Public Interface IComponentPropertyActivator

備註

此介面允許自訂標記為 的 InjectAttribute 屬性如何在元件實例中填充。 預設實作會用 來 IServiceProvider 解析注入服務。

方法

名稱 Description
GetActivator(Type)

會獲得一個代理,啟動指定類型元件的屬性。

適用於