Microsoft.AspNetCore.Mvc.ViewComponents Namespace

namespace Microsoft.AspNetCore.Mvc.ViewComponents

Interfaces

interface IViewComponentActivator
Provides methods to instantiate and release a ViewComponent.
interface IViewComponentDescriptorCollectionProvider
Provides the currently cached collection of Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentDescriptor.
interface IViewComponentDescriptorProvider
Discovers the view components in the application.
interface IViewComponentFactory
Provides methods for creation and disposal of view components.
interface IViewComponentInvoker
Specifies the contract for execution of a view component.
interface IViewComponentInvokerFactory
interface IViewComponentSelector
Selects a view component based on a view component name.

Classes

class ContentViewComponentResult
An Microsoft.AspNetCore.Mvc.IViewComponentResult which writes text when executed.
class DefaultViewComponentActivator
A default implementation of Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentActivator.
class DefaultViewComponentDescriptorCollectionProvider
A default implementation of Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentDescriptorCollectionProvider
class DefaultViewComponentDescriptorProvider
Default implementation of Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentDescriptorProvider.
class DefaultViewComponentFactory
Default implementation for Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentFactory.
class DefaultViewComponentHelper
Default implementation for Microsoft.AspNetCore.Mvc.IViewComponentHelper.
class DefaultViewComponentInvoker
Default implementation for Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentInvoker.
class DefaultViewComponentInvokerFactory
class DefaultViewComponentSelector
Default implementation of Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentSelector.
class HtmlContentViewComponentResult
An Microsoft.AspNetCore.Mvc.IViewComponentResult which writes an Microsoft.AspNetCore.Html.IHtmlContent when executed.
class ServiceBasedViewComponentActivator
A Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentActivator that retrieves view components as services from the request’s System.IServiceProvider.
class ViewComponentContext
A context for view components.
class ViewComponentContextAttribute
Specifies that a controller property should be set with the current Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext 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.AspNetCore.Mvc.ViewComponents.ViewComponentDescriptor.
class ViewComponentFeature
The list of view component types in an MVC application.The Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentFeature can be populated using the Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager that is available during startup at Microsoft.Extensions.DependencyInjection.IMvcBuilder.PartManager and Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder.PartManager or at a later stage by requiring the Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager as a dependency in a component.
class ViewComponentFeatureProvider
Discovers view components from a list of Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPart instances.
class ViewViewComponentResult
A Microsoft.AspNetCore.Mvc.IViewComponentResult that renders a partial view when executed.