DefaultViewComponentActivator Class¶
Summary¶
A default implementation of [Microsoft.AspNet.Mvc.ViewComponents.IViewComponentActivator](Microsoft.AspNet.Mvc.ViewComponents.IViewComponentActivator.yml).
Constructors¶
-
Microsoft.AspNet.Mvc.ViewComponents.DefaultViewComponentActivator.DefaultViewComponentActivator()
Initializes a new instance of [Microsoft.AspNet.Mvc.ViewComponents.DefaultViewComponentActivator](Microsoft.AspNet.Mvc.ViewComponents.DefaultViewComponentActivator.yml) class.
public DefaultViewComponentActivator()
-
Methods¶
-
Activate
(System.Object, Microsoft.AspNet.Mvc.ViewComponentContext)¶ Arguments: - viewComponent (System.Object) –
- context (Microsoft.AspNet.Mvc.ViewComponentContext) –
public virtual void Activate(object viewComponent, ViewComponentContext context)
-