DefaultViewComponentActivator Class

Summary

A default implementation of [Microsoft.AspNet.Mvc.ViewComponents.IViewComponentActivator](Microsoft.AspNet.Mvc.ViewComponents.IViewComponentActivator.yml).

Syntax

public class DefaultViewComponentActivator : IViewComponentActivator

GitHub

View on GitHub

class Microsoft.AspNet.Mvc.ViewComponents.DefaultViewComponentActivator

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:
public virtual void Activate(object viewComponent, ViewComponentContext context)