ConfigureOptions<TOptions> Class

Definition

Implementation of IConfigureOptions<TOptions>.

C#
public class ConfigureOptions<TOptions> : Microsoft.Extensions.Options.IConfigureOptions<TOptions> where TOptions : class

Type Parameters

TOptions

Options type being configured.

Inheritance
ConfigureOptions<TOptions>
Derived
Implements

Constructors

Properties

Action

Gets the configuration action.

Methods

Configure(TOptions)

Invokes the registered configure Action.

Applies to

Produk Versi
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided), 2.1 (package-provided)