共用方式為


DefaultViewComponentActivator(ITypeActivatorCache) 建構函式

定義

初始化 DefaultViewComponentActivator 類別的新執行個體。

public:
 DefaultViewComponentActivator(Microsoft::AspNetCore::Mvc::Internal::ITypeActivatorCache ^ typeActivatorCache);
public DefaultViewComponentActivator (Microsoft.AspNetCore.Mvc.Internal.ITypeActivatorCache typeActivatorCache);
new Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentActivator : Microsoft.AspNetCore.Mvc.Internal.ITypeActivatorCache -> Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentActivator
Public Sub New (typeActivatorCache As ITypeActivatorCache)

參數

typeActivatorCache
Microsoft.AspNetCore.Mvc.Internal.ITypeActivatorCache

Microsoft.AspNetCore.Mvc.Internal.ITypeActivatorCache用來建立新檢視元件實例的 。

適用於