DefaultOutputFormatterSelector Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of 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)
Parameters
- options
- IOptions<MvcOptions>
Used to access MvcOptions.
- loggerFactory
- ILoggerFactory
The logger factory.