Sdílet prostřednictvím


DefaultViewComponentFactory Třída

Definice

Výchozí implementace pro 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
Dědičnost
DefaultViewComponentFactory
Implementuje

Konstruktory

DefaultViewComponentFactory(IViewComponentActivator)

Vytvoří novou instanci DefaultViewComponentFactory

Metody

CreateViewComponent(ViewComponentContext)

Vytvoří nový kontroler pro zadaný context.

ReleaseViewComponent(ViewComponentContext, Object)

Uvolní instanci komponenty zobrazení.

ReleaseViewComponentAsync(ViewComponentContext, Object)

Uvolní instanci komponenty zobrazení asynchronně.

Platí pro