Partager via


DefaultOutputFormatterSelector Constructeur

Définition

Initialise une nouvelle instance de la classe 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)

Paramètres

options
IOptions<MvcOptions>

Utilisé pour accéder MvcOptionsà .

loggerFactory
ILoggerFactory

Fabrique du journaliseur.

S’applique à