Edit

Share via


IContextualOptions<TOptions,TContext> Interface

Definition

Used 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 defining the context for this request.

Derived

Methods

GetAsync(TContext, CancellationToken)

Gets the configured TOptions instance.

Applies to