IContextualOptions<TOptions,TContext> Interface

Definição

Fornece funcionalidade para recuperar instâncias configuradas 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)

Parâmetros de tipo

TOptions

O tipo de opções que está sendo solicitada.

TContext

Um tipo que define o contexto para essa solicitação.

Derivado

Métodos

Nome Description
GetAsync(TContext, CancellationToken)

Obtém a instância configurada TOptions .

Aplica-se a