ConfigureCompatibilityOptions<TOptions> 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
This API is obsolete and will be removed in a future version. Consider removing usages.
基礎結構的基類,可實作 ASP.NET Core MVC 對 的支援 CompatibilityVersion 。 這是架構基礎結構,不應由應用程式程式碼使用。
generic <typename TOptions>
where TOptions : class, IEnumerable<ICompatibilitySwitch ^>public ref class ConfigureCompatibilityOptions abstract : Microsoft::Extensions::Options::IPostConfigureOptions<TOptions>
public abstract class ConfigureCompatibilityOptions<TOptions> : Microsoft.Extensions.Options.IPostConfigureOptions<TOptions> where TOptions : class, IEnumerable<ICompatibilitySwitch>
[System.Obsolete("This API is obsolete and will be removed in a future version. Consider removing usages.", DiagnosticId="ASP5001", UrlFormat="https://aka.ms/aspnetcore-warnings/{0}")]
public abstract class ConfigureCompatibilityOptions<TOptions> : Microsoft.Extensions.Options.IPostConfigureOptions<TOptions> where TOptions : class, IEnumerable<ICompatibilitySwitch>
type ConfigureCompatibilityOptions<#seq<ICompatibilitySwitch>> = class
interface IPostConfigureOptions<#seq<ICompatibilitySwitch>>
[<System.Obsolete("This API is obsolete and will be removed in a future version. Consider removing usages.", DiagnosticId="ASP5001", UrlFormat="https://aka.ms/aspnetcore-warnings/{0}")>]
type ConfigureCompatibilityOptions<#seq<ICompatibilitySwitch>> = class
interface IPostConfigureOptions<#seq<ICompatibilitySwitch>>
Public MustInherit Class ConfigureCompatibilityOptions(Of TOptions)
Implements IPostConfigureOptions(Of TOptions)
類型參數
- TOptions
- 繼承
-
ConfigureCompatibilityOptions<TOptions>
- 屬性
- 實作
-
IPostConfigureOptions<TOptions>
建構函式
ConfigureCompatibilityOptions<TOptions>(ILoggerFactory, IOptions<MvcCompatibilityOptions>) |
已淘汰.
|
屬性
DefaultValues |
已淘汰.
取得與所設定 CompatibilityVersion 應用程式相關聯的相容性參數預設值。 |
Version |
已淘汰.
CompatibilityVersion取得為應用程式設定的 。 |
方法
PostConfigure(String, TOptions) |
已淘汰.
基礎結構的基類,可實作 ASP.NET Core MVC 對 的支援 CompatibilityVersion 。 這是架構基礎結構,不應由應用程式程式碼使用。 |