IContextualOptions<TOptions,TContext> Interface

Definitie

Biedt functionaliteit voor het ophalen van geconfigureerde TOptions exemplaren.

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)

Type parameters

TOptions

Het type opties dat wordt aangevraagd.

TContext

Een type dat de context voor deze aanvraag definieert.

Afgeleid

Methoden

Name Description
GetAsync(TContext, CancellationToken)

Hiermee haalt u het geconfigureerde TOptions exemplaar op.

Van toepassing op