IViewComponentInvokerFactory.CreateInstance(ViewComponentContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a IViewComponentInvoker.
public:
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
Public Function CreateInstance (context As ViewComponentContext) As IViewComponentInvoker
Parameters
- context
- ViewComponentContext
The ViewComponentContext.