OptionsFactory<TOptions> Class
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.
Implementation of IOptionsFactory<TOptions>.
generic <typename TOptions>
where TOptions : classpublic ref class OptionsFactory : Microsoft::Extensions::Options::IOptionsFactory<TOptions>
public class OptionsFactory<TOptions> : Microsoft.Extensions.Options.IOptionsFactory<TOptions> where TOptions : class
type OptionsFactory<'Options (requires 'Options : null)> = class
interface IOptionsFactory<'Options (requires 'Options : null)>
Public Class OptionsFactory(Of TOptions)
Implements IOptionsFactory(Of TOptions)
Type Parameters
- TOptions
The type of options being requested.
- Inheritance
-
OptionsFactory<TOptions>
- Implements
Constructors
OptionsFactory<TOptions>(IEnumerable<IConfigureOptions<TOptions>>, IEnumerable<IPostConfigureOptions<TOptions>>, IEnumerable<IValidateOptions<TOptions>>) |
Initializes a new instance with the specified options configurations. |
OptionsFactory<TOptions>(IEnumerable<IConfigureOptions<TOptions>>, IEnumerable<IPostConfigureOptions<TOptions>>) |
Initializes a new instance with the specified options configurations. |
Methods
Create(String) |
Returns a configured |
CreateInstance(String) |
Creates a new instance of options type. |
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.