IViewComponentActivator Interface¶
Methods¶
-
Activate
(System.Object, Microsoft.AspNet.Mvc.ViewComponentContext)¶ When implemented in a type, activates an instantiated ViewComponent.
Arguments: - viewComponent (System.Object) – The ViewComponent to activate.
- context (Microsoft.AspNet.Mvc.ViewComponentContext) – The [Microsoft.AspNet.Mvc.ViewComponentContext](Microsoft.AspNet.Mvc.ViewComponentContext.yml) for the executing [Microsoft.AspNet.Mvc.ViewComponent](Microsoft.AspNet.Mvc.ViewComponent.yml).
void Activate(object viewComponent, ViewComponentContext context)
-