DefaultViewComponentInvoker Class

Definition

Default implementation for 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
Inheritance
DefaultViewComponentInvoker
Implements

Constructors

DefaultViewComponentInvoker(IViewComponentFactory, ViewComponentInvokerCache, DiagnosticSource, ILogger)

Initializes a new instance of DefaultViewComponentInvoker.

Methods

InvokeAsync(ViewComponentContext)

Executes the view component specified by ViewComponentDescriptor of context and writes the result to Writer.

Applies to