共用方式為


ViewComponentResultExecutor 類別

定義

public ref class ViewComponentResultExecutor : Microsoft::AspNetCore::Mvc::Infrastructure::IActionResultExecutor<Microsoft::AspNetCore::Mvc::ViewComponentResult ^>
public class ViewComponentResultExecutor : Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor<Microsoft.AspNetCore.Mvc.ViewComponentResult>
type ViewComponentResultExecutor = class
    interface IActionResultExecutor<ViewComponentResult>
Public Class ViewComponentResultExecutor
Implements IActionResultExecutor(Of ViewComponentResult)
繼承
ViewComponentResultExecutor
實作

建構函式

ViewComponentResultExecutor(IOptions<MvcViewOptions>, ILoggerFactory, HtmlEncoder, IModelMetadataProvider, ITempDataDictionaryFactory)
已淘汰.

ViewComponentResultIActionResultExecutor<TResult>

ViewComponentResultExecutor(IOptions<MvcViewOptions>, ILoggerFactory, HtmlEncoder, IModelMetadataProvider, ITempDataDictionaryFactory, IHttpResponseStreamWriterFactory)

初始化 的新實例 ViewComponentResultExecutor

方法

ExecuteAsync(ActionContext, ViewComponentResult)

藉由修改 HttpResponse ,以非同步方式執行動作結果。

適用於