IConfigureOptions<TOptions> インターフェイス

定義

TOptions型を構成するものを表します。

generic <typename TOptions>
 where TOptions : classpublic interface class IConfigureOptions
public interface IConfigureOptions<in TOptions> where TOptions : class
type IConfigureOptions<'Options (requires 'Options : null)> = interface
Public Interface IConfigureOptions(Of In TOptions)

型パラメーター

TOptions

構成されているオプションの種類。

この型パラメーターは反変です。 つまり、指定した型、または弱い派生型のいずれかを使用することができます。 共変性および反変性の詳細については、「ジェネリックの共変性と反変性」をご覧ください。
派生

注釈

これらは、すべての IPostConfigureOptions<TOptions>の前に実行されます。

メソッド

名前 説明
Configure(TOptions)

TOptions インスタンスを構成します。

適用対象