共用方式為


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))

參數

loggerFactory
ILoggerFactory

ILoggerFactory

適用於