ConfigureCompatibilityOptions<TOptions> 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.
Creates a new ConfigureCompatibilityOptions<TOptions>.
protected:
ConfigureCompatibilityOptions(Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Mvc::Infrastructure::MvcCompatibilityOptions ^> ^ compatibilityOptions);
protected ConfigureCompatibilityOptions (Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.Infrastructure.MvcCompatibilityOptions> compatibilityOptions);
new Microsoft.AspNetCore.Mvc.Infrastructure.ConfigureCompatibilityOptions<#seq<Microsoft.AspNetCore.Mvc.Infrastructure.ICompatibilitySwitch>> : Microsoft.Extensions.Logging.ILoggerFactory * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.Infrastructure.MvcCompatibilityOptions> -> Microsoft.AspNetCore.Mvc.Infrastructure.ConfigureCompatibilityOptions<#seq<Microsoft.AspNetCore.Mvc.Infrastructure.ICompatibilitySwitch>>
Protected Sub New (loggerFactory As ILoggerFactory, compatibilityOptions As IOptions(Of MvcCompatibilityOptions))
Parameters
- loggerFactory
- ILoggerFactory
The ILoggerFactory.
- compatibilityOptions
- IOptions<MvcCompatibilityOptions>
The IOptions<TOptions>.