Class OptionSection
An options type bound to a configuration section, registered with AddOptionSection<T>(IServiceCollection, IConfiguration, string).
Implements
Inherited Members
Namespace: Uniform.Matrix.Hosting
Assembly: Uniform.Matrix.Hosting.dll
Syntax
public sealed record OptionSection : IEquatable<OptionSection>
Constructors
| Edit this page View SourceOptionSection(string, Type)
An options type bound to a configuration section, registered with AddOptionSection<T>(IServiceCollection, IConfiguration, string).
Declaration
public OptionSection(string Name, Type Type)
Parameters
| Type | Name | Description |
|---|---|---|
| string | Name | Section name, e.g. |
| Type | Type | Options type whose settable properties are the options. |
Properties
| Edit this page View SourceName
Section name, e.g. Ui.
Declaration
public string Name { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Type
Options type whose settable properties are the options.
Declaration
public Type Type { get; init; }
Property Value
| Type | Description |
|---|---|
| Type |