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
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.