Lingua

IContextualOptions<TOptions,TContext> Interfaccia

Definizione

Fornisce funzionalità per recuperare le istanze configurate 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)

Parametri di tipo

TOptions

Tipo di opzioni richieste.

TContext

Tipo che definisce il contesto per questa richiesta.

Derivato

Metodi

Nome Descrizione
GetAsync(TContext, CancellationToken)

Ottiene l'istanza configurata TOptions .

Si applica a