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

适用于