ObjectResultExecutor Конструкторы
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Перегрузки
ObjectResultExecutor(OutputFormatterSelector, IHttpResponseStreamWriterFactory, ILoggerFactory) |
Устаревшие..
Создает новый экземпляр ObjectResultExecutor. |
ObjectResultExecutor(OutputFormatterSelector, IHttpResponseStreamWriterFactory, ILoggerFactory, IOptions<MvcOptions>) |
Создает новый экземпляр ObjectResultExecutor. |
ObjectResultExecutor(OutputFormatterSelector, IHttpResponseStreamWriterFactory, ILoggerFactory)
- Исходный код:
- ObjectResultExecutor.cs
- Исходный код:
- 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)
Параметры
- formatterSelector
- OutputFormatterSelector
- writerFactory
- IHttpResponseStreamWriterFactory
- loggerFactory
- ILoggerFactory
- Атрибуты
Применяется к
ObjectResultExecutor(OutputFormatterSelector, IHttpResponseStreamWriterFactory, ILoggerFactory, IOptions<MvcOptions>)
- Исходный код:
- 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))
Параметры
- formatterSelector
- OutputFormatterSelector
- writerFactory
- IHttpResponseStreamWriterFactory
- loggerFactory
- ILoggerFactory
- mvcOptions
- IOptions<MvcOptions>
Метод доступа к MvcOptions.