IViewComponentFactory 介面

定義

提供建立及處置檢視元件的方法。

public interface class IViewComponentFactory
public interface IViewComponentFactory
type IViewComponentFactory = interface
Public Interface IViewComponentFactory
衍生

方法

CreateViewComponent(ViewComponentContext)

為指定的 context 建立新的控制器。

ReleaseViewComponent(ViewComponentContext, Object)

釋放檢視元件實例。

ReleaseViewComponentAsync(ViewComponentContext, Object)

以非同步方式釋放檢視元件實例。

適用於