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 Genérico

TOptions

O tipo de opções que estão a ser solicitadas.

TContext

Um tipo que define o contexto para este pedido.

Derivado

Métodos

Name Description
GetAsync(TContext, CancellationToken)

Obtém a instância configurada TOptions .

Aplica-se a