Udostępnij za pośrednictwem


DefaultOutputFormatterSelector Konstruktor

Definicja

Inicjuje nowe wystąpienie 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)

Parametry

options
IOptions<MvcOptions>

Służy do uzyskiwania dostępu do MvcOptionspliku .

loggerFactory
ILoggerFactory

Fabryka rejestratora.

Dotyczy