DefaultViewComponentActivator Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A default implementation of IViewComponentActivator.
public ref class DefaultViewComponentActivator : Microsoft::AspNetCore::Mvc::ViewComponents::IViewComponentActivator
public class DefaultViewComponentActivator : Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentActivator
type DefaultViewComponentActivator = class
interface IViewComponentActivator
Public Class DefaultViewComponentActivator
Implements IViewComponentActivator
- Inheritance
-
DefaultViewComponentActivator
- Implements
Remarks
The DefaultViewComponentActivator can provide the current instance of ViewComponentContext to a public property of a view component marked with ViewComponentContextAttribute.
Constructors
DefaultViewComponentActivator(ITypeActivatorCache) |
Initializes a new instance of DefaultViewComponentActivator class. |
Methods
Create(ViewComponentContext) |
Instantiates a ViewComponent. |
Release(ViewComponentContext, Object) |
Releases a ViewComponent instance. |