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 |
The configuration action. (Inherited from ConfigureNamedOptions<TOptions>) |
Name |
The options name. (Inherited from ConfigureNamedOptions<TOptions>) |
Methods
Configure(String, TOptions) |
Invokes the registered configure Action if the |
Configure(TOptions) |
Invoked to configure a |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
Applies to
.NET