Share via


DefaultViewComponentHelper Classe

Définition

Implémentation par défaut pour IViewComponentHelper.

public ref class DefaultViewComponentHelper : Microsoft::AspNetCore::Mvc::IViewComponentHelper, Microsoft::AspNetCore::Mvc::ViewFeatures::IViewContextAware
public class DefaultViewComponentHelper : Microsoft.AspNetCore.Mvc.IViewComponentHelper, Microsoft.AspNetCore.Mvc.ViewFeatures.IViewContextAware
type DefaultViewComponentHelper = class
    interface IViewComponentHelper
    interface IViewContextAware
Public Class DefaultViewComponentHelper
Implements IViewComponentHelper, IViewContextAware
Héritage
DefaultViewComponentHelper
Implémente

Constructeurs

DefaultViewComponentHelper(IViewComponentDescriptorCollectionProvider, HtmlEncoder, IViewComponentSelector, IViewComponentInvokerFactory, IViewBufferScope)

Initialise une nouvelle instance de DefaultViewComponentHelper.

DefaultViewComponentHelper(IViewComponentDescriptorCollectionProvider, HtmlEncoder, IViewComponentSelector, IViewComponentInvokerFactory, IViewBufferScope)

Initialise une nouvelle instance de DefaultViewComponentHelper.

Méthodes

Contextualize(ViewContext)

Contextualise le instance avec le spécifiéviewContext.

InvokeAsync(String, Object)

Appelle un composant d’affichage avec le spécifié name.

InvokeAsync(Type, Object)

Appelle un composant d’affichage de type componentType.

Méthodes d’extension

InvokeAsync(IViewComponentHelper, String)

Appelle un composant d’affichage avec le spécifié name.

InvokeAsync(IViewComponentHelper, Type)

Appelle un composant d’affichage de type componentType.

InvokeAsync<TComponent>(IViewComponentHelper)

Appelle un composant d’affichage de type TComponent.

InvokeAsync<TComponent>(IViewComponentHelper, Object)

Appelle un composant d’affichage de type TComponent.

S’applique à