| | | 1 | | namespace NexusLabs.Needlr.Catalog; |
| | | 2 | | |
| | | 3 | | /// <summary> |
| | | 4 | | /// Represents an options/configuration binding discovered at compile time. |
| | | 5 | | /// </summary> |
| | | 6 | | /// <param name="TypeName">The fully qualified name of the options type.</param> |
| | | 7 | | /// <param name="ShortTypeName">The short name of the options type (without namespace).</param> |
| | | 8 | | /// <param name="SectionName">The configuration section name this options type binds to.</param> |
| | | 9 | | /// <param name="AssemblyName">The assembly name where this type is defined.</param> |
| | | 10 | | /// <param name="Name">The named options name, or null for default options.</param> |
| | | 11 | | /// <param name="ValidateOnStart">True if validation is performed on application start.</param> |
| | | 12 | | /// <param name="HasValidator">True if this options type has a validation method.</param> |
| | | 13 | | /// <param name="HasDataAnnotations">True if this options type has DataAnnotation validation attributes.</param> |
| | | 14 | | /// <param name="SourceFilePath">Source file path where the type is defined, if available.</param> |
| | 273 | 15 | | public sealed record OptionsCatalogEntry( |
| | 0 | 16 | | string TypeName, |
| | 0 | 17 | | string ShortTypeName, |
| | 0 | 18 | | string SectionName, |
| | 0 | 19 | | string AssemblyName, |
| | 0 | 20 | | string? Name = null, |
| | 0 | 21 | | bool ValidateOnStart = false, |
| | 0 | 22 | | bool HasValidator = false, |
| | 0 | 23 | | bool HasDataAnnotations = false, |
| | 273 | 24 | | string? SourceFilePath = null); |