共用方式為


ObjectResultExecutor 類別

定義

ObjectResult執行 以寫入回應的 。

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

建構函式

ObjectResultExecutor(OutputFormatterSelector, IHttpResponseStreamWriterFactory, ILoggerFactory, IOptions<MvcOptions>)

建立新的 ObjectResultExecutor

ObjectResultExecutor(OutputFormatterSelector, IHttpResponseStreamWriterFactory, ILoggerFactory)
已淘汰.

建立新的 ObjectResultExecutor

屬性

FormatterSelector

取得 OutputFormatterSelector

Logger

取得 ILogger

WriterFactory

取得寫入器處理站委派。

方法

ExecuteAsync(ActionContext, ObjectResult)

執行 ObjectResult

適用於