ServiceBasedViewComponentActivator 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 IViewComponentActivator that retrieves view components as services from the request's IServiceProvider.
public ref class ServiceBasedViewComponentActivator : Microsoft::AspNetCore::Mvc::ViewComponents::IViewComponentActivator
public class ServiceBasedViewComponentActivator : Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentActivator
type ServiceBasedViewComponentActivator = class
interface IViewComponentActivator
Public Class ServiceBasedViewComponentActivator
Implements IViewComponentActivator
- Inheritance
-
ServiceBasedViewComponentActivator
- Implements
Constructors
ServiceBasedViewComponentActivator() |
Methods
Create(ViewComponentContext) |
Instantiates a ViewComponent. |
Release(ViewComponentContext, Object) |
Releases a ViewComponent instance. |