DefaultViewComponentInvokerFactory.CreateInstance 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:
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
Parameters
- context
- ViewComponentContext
The ViewComponentContext.