Auf Englisch lesen

Teilen über


IContextualOptions<TOptions,TContext> Interface

Definition

Provides functionality to retrieve configured TOptions instances.

C#
public interface IContextualOptions<TOptions,TContext> where TOptions : class where TContext : IOptionsContext

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

Produkt Versionen
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)