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 type |
Applies to
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.