Sdílet prostřednictvím


IContextualOptions<TOptions,TContext> Rozhraní

Definice

Používá se k načtení nakonfigurovaných TOptions instancí.

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)

Parametry typu

TOptions

Typ požadovaných možností

TContext

Typ definující kontext pro tento požadavek.

Odvozené

Metody

GetAsync(TContext, CancellationToken)

Získá nakonfigurovanou TOptions instanci.

Platí pro