共用方式為


DefaultViewComponentInvokerFactory.CreateInstance 方法

定義

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

實作

適用於