NamedConfigureFromConfigurationOptions<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.
Configures an option instance by using Bind(IConfiguration, Object) against an IConfiguration.
generic <typename TOptions>
where TOptions : classpublic ref class NamedConfigureFromConfigurationOptions : Microsoft::Extensions::Options::ConfigureNamedOptions<TOptions>
public class NamedConfigureFromConfigurationOptions<TOptions> : Microsoft.Extensions.Options.ConfigureNamedOptions<TOptions> where TOptions : class
type NamedConfigureFromConfigurationOptions<'Options (requires 'Options : null)> = class
inherit ConfigureNamedOptions<'Options (requires 'Options : null)>
Public Class NamedConfigureFromConfigurationOptions(Of TOptions)
Inherits ConfigureNamedOptions(Of TOptions)
Type Parameters
- TOptions
The type of options to bind.
- Inheritance
Constructors
NamedConfigureFromConfigurationOptions<TOptions>(String, IConfiguration, Action<BinderOptions>) |
Constructor that takes the IConfiguration instance to bind against. |
NamedConfigureFromConfigurationOptions<TOptions>(String, IConfiguration) |
Constructor that takes the IConfiguration instance to bind against. |
Properties
Action |
Gets the configuration action. (Inherited from ConfigureNamedOptions<TOptions>) |
Name |
Gets the options name. (Inherited from ConfigureNamedOptions<TOptions>) |
Methods
Configure(String, TOptions) |
Invokes the registered configure Action if the |
Configure(TOptions) |
Configures a |
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET