DefaultViewComponentFactory 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.
Default implementation for IViewComponentFactory.
public ref class DefaultViewComponentFactory : Microsoft::AspNetCore::Mvc::ViewComponents::IViewComponentFactory
public class DefaultViewComponentFactory : Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentFactory
type DefaultViewComponentFactory = class
interface IViewComponentFactory
Public Class DefaultViewComponentFactory
Implements IViewComponentFactory
- Inheritance
-
DefaultViewComponentFactory
- Implements
Constructors
DefaultViewComponentFactory(IViewComponentActivator) |
Creates a new instance of DefaultViewComponentFactory |
Methods
CreateViewComponent(ViewComponentContext) |
Creates a new controller for the specified |
ReleaseViewComponent(ViewComponentContext, Object) |
Releases a view component instance. |
ReleaseViewComponentAsync(ViewComponentContext, Object) |
Releases a view component instance asynchronously. |