DefaultViewComponentInvokerFactory.CreateInstance 方法

定义

创建一个 IViewComponentInvoker

public:
 virtual Microsoft::AspNetCore::Mvc::ViewComponents::IViewComponentInvoker ^ CreateInstance(Microsoft::AspNetCore::Mvc::ViewComponents::ViewComponentContext ^ context);
public Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentInvoker CreateInstance (Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext context);
abstract member CreateInstance : Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext -> Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentInvoker
override this.CreateInstance : Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext -> Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentInvoker
Public Function CreateInstance (context As ViewComponentContext) As IViewComponentInvoker

参数

返回

IViewComponentInvoker

实现

适用于