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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.