ObjectResultExecutor 构造函数

定义

重载

ObjectResultExecutor(OutputFormatterSelector, IHttpResponseStreamWriterFactory, ILoggerFactory)
已过时.

创建一个新的 ObjectResultExecutor

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

创建一个新的 ObjectResultExecutor

ObjectResultExecutor(OutputFormatterSelector, IHttpResponseStreamWriterFactory, ILoggerFactory)

Source:
ObjectResultExecutor.cs
Source:
ObjectResultExecutor.cs

注意

This constructor is obsolete and will be removed in a future release.

创建一个新的 ObjectResultExecutor

public:
 ObjectResultExecutor(Microsoft::AspNetCore::Mvc::Infrastructure::OutputFormatterSelector ^ formatterSelector, Microsoft::AspNetCore::Mvc::Infrastructure::IHttpResponseStreamWriterFactory ^ writerFactory, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public ObjectResultExecutor (Microsoft.AspNetCore.Mvc.Infrastructure.OutputFormatterSelector formatterSelector, Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory writerFactory, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
[System.Obsolete("This constructor is obsolete and will be removed in a future release.")]
public ObjectResultExecutor (Microsoft.AspNetCore.Mvc.Infrastructure.OutputFormatterSelector formatterSelector, Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory writerFactory, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor : Microsoft.AspNetCore.Mvc.Infrastructure.OutputFormatterSelector * Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor
[<System.Obsolete("This constructor is obsolete and will be removed in a future release.")>]
new Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor : Microsoft.AspNetCore.Mvc.Infrastructure.OutputFormatterSelector * Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor
Public Sub New (formatterSelector As OutputFormatterSelector, writerFactory As IHttpResponseStreamWriterFactory, loggerFactory As ILoggerFactory)

参数

属性

适用于

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

Source:
ObjectResultExecutor.cs

创建一个新的 ObjectResultExecutor

public:
 ObjectResultExecutor(Microsoft::AspNetCore::Mvc::Infrastructure::OutputFormatterSelector ^ formatterSelector, Microsoft::AspNetCore::Mvc::Infrastructure::IHttpResponseStreamWriterFactory ^ writerFactory, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Mvc::MvcOptions ^> ^ mvcOptions);
public ObjectResultExecutor (Microsoft.AspNetCore.Mvc.Infrastructure.OutputFormatterSelector formatterSelector, Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory writerFactory, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions> mvcOptions);
new Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor : Microsoft.AspNetCore.Mvc.Infrastructure.OutputFormatterSelector * Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory * Microsoft.Extensions.Logging.ILoggerFactory * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions> -> Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor
Public Sub New (formatterSelector As OutputFormatterSelector, writerFactory As IHttpResponseStreamWriterFactory, loggerFactory As ILoggerFactory, mvcOptions As IOptions(Of MvcOptions))

参数

mvcOptions
IOptions<MvcOptions>

访问器到 MvcOptions

适用于