共用方式為


ContentResultExecutor 類別

定義

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

建構函式

ContentResultExecutor(ILogger<ContentResultExecutor>, IHttpResponseStreamWriterFactory)

初始化 ContentResultExecutor 的新執行個體。

方法

ExecuteAsync(ActionContext, ContentResult)

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

適用於