Freigeben über


IContextualOptions<TOptions,TContext> Interface

Definition

Provides functionality to retrieve configured TOptions instances.

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

The type of options being requested.

TContext

A type that defines the context for this request.

Derived

Methods

GetAsync(TContext, CancellationToken)

Gets the configured TOptions instance.

Applies to