OptionaryAttribute Constructors
ClassConstructors2 members
Declares the configuration section of an options class. Optionary'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 OptionaryAttribute{ public OptionaryAttribute() { // ... }}Constructor(string) Section titled Constructor(string) Declares the attributed class under
section. public sealed class OptionaryAttribute{ public OptionaryAttribute( string section) { // ... }}Parameters
sectionstringThe section path, e.g. "Greetings" or "Http:Retry" .