IContextualOptions<TOptions,TContext> Interface
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
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 |