DovetailConfigurationAttribute Constructors
ClassConstructors2 members
Declares the configuration section of an options class. Dovetail's source generator describes the class as JSON Schema, which is merged into the application's
appsettings.schema.json for editor completion and validation, and registers it with the options pipeline. ConstructorSection titled Constructor Declares the attributed class under the section derived from its name.
public sealed class DovetailConfigurationAttribute{ public DovetailConfigurationAttribute() { // ... }}Constructor(string) Section titled Constructor(string) Declares the attributed class under
section. public sealed class DovetailConfigurationAttribute{ public DovetailConfigurationAttribute( string section) { // ... }}Parameters
sectionstringThe section path, e.g. "Greetings" or "Http:Retry" .