다음을 통해 공유


OptionsWrapper<TOptions>(TOptions) Constructor

Definition

Initializes the wrapper with the options instance to return.

public:
 OptionsWrapper(TOptions options);
public OptionsWrapper (TOptions options);
new Microsoft.Extensions.Options.OptionsWrapper<'Options (requires 'Options : null)> : 'Options -> Microsoft.Extensions.Options.OptionsWrapper<'Options (requires 'Options : null)>
Public Sub New (options As TOptions)

Parameters

options
TOptions

The options instance to return.

Applies to