DefaultViewComponentInvoker Třída

Definice

Výchozí implementace pro IViewComponentInvoker .

public ref class DefaultViewComponentInvoker : Microsoft::AspNetCore::Mvc::ViewComponents::IViewComponentInvoker
public class DefaultViewComponentInvoker : Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentInvoker
type DefaultViewComponentInvoker = class
    interface IViewComponentInvoker
Public Class DefaultViewComponentInvoker
Implements IViewComponentInvoker
Dědičnost
DefaultViewComponentInvoker
Implementuje

Konstruktory

DefaultViewComponentInvoker(IViewComponentFactory, ViewComponentInvokerCache, DiagnosticSource, ILogger)

Inicializuje novou instanci DefaultViewComponentInvoker .

Metody

InvokeAsync(ViewComponentContext)

Spustí komponentu zobrazení určenou hodnotou ViewComponentDescriptor context a zapíše výsledek do Writersouboru .

Platí pro