Langue

DefaultViewComponentFactory Classe

Définition

Implémentation par défaut pour 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
Héritage
DefaultViewComponentFactory
Implémente

Constructeurs

Nom Description
DefaultViewComponentFactory(IViewComponentActivator)

Crée une instance de DefaultViewComponentFactory

Méthodes

Nom Description
CreateViewComponent(ViewComponentContext)

Crée un nouveau contrôleur pour le spécifié context.

ReleaseViewComponent(ViewComponentContext, Object)

Libère un composant d’affichage instance.

ReleaseViewComponentAsync(ViewComponentContext, Object)

Libère un composant d’affichage instance de manière asynchrone.

S’applique à