DefaultViewComponentActivator Class
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
The DefaultViewComponentActivator can provide the current instance of ViewComponentContext to a public property of a view component marked with ViewComponentContextAttribute.
Default |
Initializes a new instance of DefaultViewComponentActivator class. |
Create(View |
Instantiates a ViewComponent. |
Release(View |
Releases a ViewComponent instance. |
Tuote | Versiot |
---|---|
ASP.NET Core | 1.0, 1.1, 2.0, 2.1, 2.2 |