ObjectResultExecutor 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
ObjectResultExecutor(OutputFormatterSelector, IHttpResponseStreamWriterFactory, ILoggerFactory)
警告
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。
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 。