次の方法で共有


IContextualOptions<TOptions,TContext> インターフェイス

定義

構成された TOptions インスタンスの取得に使用されます。

generic <typename TOptions, typename TContext>
 where TOptions : class where TContext : IOptionsContextpublic interface class IContextualOptions
public interface IContextualOptions<TOptions,TContext> where TOptions : class where TContext : IOptionsContext
type IContextualOptions<'Options, 'Context (requires 'Options : null and 'Context :> IOptionsContext)> = interface
Public Interface IContextualOptions(Of TOptions, TContext)

型パラメーター

TOptions

要求されるオプションの種類。

TContext

この要求のコンテキストを定義する型。

派生

メソッド

GetAsync(TContext, CancellationToken)

構成された TOptions インスタンスを取得します。

適用対象