ConfigureCompatibilityOptions<TOptions> 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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))
参数
- loggerFactory
- ILoggerFactory
- compatibilityOptions
- IOptions<MvcCompatibilityOptions>