OptionsManager<TOptions>(IOptionsFactory<TOptions>) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.