Sdílet prostřednictvím


ObjectResultExecutor Konstruktory

Definice

Přetížení

ObjectResultExecutor(OutputFormatterSelector, IHttpResponseStreamWriterFactory, ILoggerFactory)
Zastaralé.

Vytvoří nový objekt ObjectResultExecutor.

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

Vytvoří nový objekt ObjectResultExecutor.

ObjectResultExecutor(OutputFormatterSelector, IHttpResponseStreamWriterFactory, ILoggerFactory)

Zdroj:
ObjectResultExecutor.cs
Zdroj:
ObjectResultExecutor.cs

Upozornění

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

Vytvoří nový objekt 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)

Parametry

loggerFactory
ILoggerFactory

Hodnota ILoggerFactory

Atributy

Platí pro

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

Zdroj:
ObjectResultExecutor.cs

Vytvoří nový objekt 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))

Parametry

loggerFactory
ILoggerFactory

Hodnota ILoggerFactory

mvcOptions
IOptions<MvcOptions>

Přistup k objektu MvcOptions.

Platí pro