共用方式為


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)

參數

loggerFactory
ILoggerFactory

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))

參數

loggerFactory
ILoggerFactory

ILoggerFactory

mvcOptions
IOptions<MvcOptions>

的存取子 MvcOptions

適用於