OptionsWrapper<TOptions>(TOptions) Constructor

Definition

Initializes the wrapper with the options instance to return.

C#
public OptionsWrapper (TOptions options);

Parameters

options
TOptions

The options instance to return.

Applies to

產品 版本
.NET 8 (package-provided), 9 (package-provided)
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided), 2.1 (package-provided)