INamedContextualOptions<TOptions,TContext> Interface

Definitie

Biedt functionaliteit voor het ophalen van benoemde geconfigureerde TOptions exemplaren.

generic <typename TOptions, typename TContext>
 where TOptions : class where TContext : IOptionsContextpublic interface class INamedContextualOptions : Microsoft::Extensions::Options::Contextual::IContextualOptions<TOptions, TContext>
public interface INamedContextualOptions<TOptions,TContext> : Microsoft.Extensions.Options.Contextual.IContextualOptions<TOptions,TContext> where TOptions : class where TContext : IOptionsContext
type INamedContextualOptions<'Options, 'Context (requires 'Options : null and 'Context :> IOptionsContext)> = interface
    interface IContextualOptions<'Options, 'Context (requires 'Options : null and 'Context :> IOptionsContext)>
Public Interface INamedContextualOptions(Of TOptions, TContext)
Implements IContextualOptions(Of TOptions, TContext)

Type parameters

TOptions

Het type opties dat wordt aangevraagd.

TContext

Een type waarmee de context voor deze aanvraag wordt gedefinieerd.

Implementeringen

Methoden

Name Description
GetAsync(String, TContext, CancellationToken)

Hiermee haalt u de benoemde geconfigureerde TOptions instantie op.

GetAsync(TContext, CancellationToken)

Hiermee haalt u het geconfigureerde TOptions exemplaar op.

(Overgenomen van IContextualOptions<TOptions,TContext>)

Van toepassing op