Udostępnij za pośrednictwem


IContextualOptions<TOptions,TContext> Interfejs

Definicja

Służy do pobierania skonfigurowanych TOptions wystąpień.

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 żądanych opcji.

TContext

Typ definiujący kontekst dla tego żądania.

Pochodne

Metody

GetAsync(TContext, CancellationToken)

Pobiera skonfigurowane TOptions wystąpienie.

Dotyczy