Microsoft.AspNet.Mvc.ViewComponents Namespace

namespace Microsoft.AspNet.Mvc.ViewComponents

Interfaces

interface IViewComponentActivator
Provides methods to activate an instantiated ViewComponent
interface IViewComponentDescriptorCollectionProvider
Provides the currently cached collection of [Microsoft.AspNet.Mvc.ViewComponents.ViewComponentDescriptor](Microsoft.AspNet.Mvc.ViewComponents.ViewComponentDescriptor.yml).
interface IViewComponentDescriptorProvider
Discovers the View Components in the application.

interface IViewComponentInvoker

interface IViewComponentInvokerFactory

interface IViewComponentSelector
Selects a View Component based on a View Component name.

Classes

class DefaultViewComponentActivator
A default implementation of [Microsoft.AspNet.Mvc.ViewComponents.IViewComponentActivator](Microsoft.AspNet.Mvc.ViewComponents.IViewComponentActivator.yml).
class DefaultViewComponentDescriptorCollectionProvider
A default implementation of [Microsoft.AspNet.Mvc.ViewComponents.IViewComponentDescriptorCollectionProvider](Microsoft.AspNet.Mvc.ViewComponents.IViewComponentDescriptorCollectionProvider.yml)
class DefaultViewComponentDescriptorProvider
Default implementation of [Microsoft.AspNet.Mvc.ViewComponents.IViewComponentDescriptorProvider](Microsoft.AspNet.Mvc.ViewComponents.IViewComponentDescriptorProvider.yml).

class DefaultViewComponentHelper

class DefaultViewComponentInvoker

class DefaultViewComponentInvokerFactory

class DefaultViewComponentSelector
Default implementation of [Microsoft.AspNet.Mvc.ViewComponents.IViewComponentSelector](Microsoft.AspNet.Mvc.ViewComponents.IViewComponentSelector.yml).
class ViewComponentContextAttribute
Specifies that a controller property should be set with the current [Microsoft.AspNet.Mvc.ViewComponentContext](Microsoft.AspNet.Mvc.ViewComponentContext.yml) when creating the view component. The property must have a public set method.

class ViewComponentConventions

class ViewComponentDescriptor
A descriptor for a View Component.
class ViewComponentDescriptorCollection
A cached collection of [Microsoft.AspNet.Mvc.ViewComponents.ViewComponentDescriptor](Microsoft.AspNet.Mvc.ViewComponents.ViewComponentDescriptor.yml).

class ViewComponentMethodSelector