Aracılığıyla paylaş


IContextualOptions<TOptions,TContext> Arabirim

Tanım

Yapılandırılmış TOptions örnekleri almak için kullanılır.

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)

Tür Parametreleri

TOptions

İstenen seçeneklerin türü.

TContext

Bu isteğin bağlamını tanımlayan bir tür.

Türetilmiş

Yöntemler

GetAsync(TContext, CancellationToken)

Yapılandırılan TOptions örneği alır.

Şunlara uygulanır