Поділитися через


OptionsManager<TOptions>(IOptionsFactory<TOptions>) Constructor

Definition

Initializes a new instance with the specified options configurations.

public:
 OptionsManager(Microsoft::Extensions::Options::IOptionsFactory<TOptions> ^ factory);
public OptionsManager (Microsoft.Extensions.Options.IOptionsFactory<TOptions> factory);
new Microsoft.Extensions.Options.OptionsManager<'Options (requires 'Options : null)> : Microsoft.Extensions.Options.IOptionsFactory<'Options (requires 'Options : null)> -> Microsoft.Extensions.Options.OptionsManager<'Options (requires 'Options : null)>
Public Sub New (factory As IOptionsFactory(Of TOptions))

Parameters

factory
IOptionsFactory<TOptions>

The factory to use to create options.

Applies to