Share via


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用于创建新视图组件实例的 。

适用于