Compartilhar via


DefaultOutputFormatterSelector Construtor

Definição

Inicializa uma nova instância de DefaultOutputFormatterSelector

public:
 DefaultOutputFormatterSelector(Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Mvc::MvcOptions ^> ^ options, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public DefaultOutputFormatterSelector (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions> options, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.Mvc.Infrastructure.DefaultOutputFormatterSelector : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions> * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.Mvc.Infrastructure.DefaultOutputFormatterSelector
Public Sub New (options As IOptions(Of MvcOptions), loggerFactory As ILoggerFactory)

Parâmetros

options
IOptions<MvcOptions>

Usado para acessar MvcOptions.

loggerFactory
ILoggerFactory

A fábrica do agente.

Aplica-se a