From a189145f709fbc62ff59950d9c15e8feb68c27fb Mon Sep 17 00:00:00 2001 From: Thomas Harold Date: Thu, 5 Mar 2020 10:09:58 -0500 Subject: [PATCH] Add a note about section names being optional --- .../Example3Api/Attributes/ConfigurationSectionNameAttribute.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Example3-IValidateOptions/src/Example3Api/Attributes/ConfigurationSectionNameAttribute.cs b/Example3-IValidateOptions/src/Example3Api/Attributes/ConfigurationSectionNameAttribute.cs index 9eb4725..04008f3 100644 --- a/Example3-IValidateOptions/src/Example3Api/Attributes/ConfigurationSectionNameAttribute.cs +++ b/Example3-IValidateOptions/src/Example3Api/Attributes/ConfigurationSectionNameAttribute.cs @@ -2,6 +2,8 @@ namespace Example3Api.Attributes { + /// Used when the section name in the configuration file does not match the + /// class name of the options/configuration object. [AttributeUsage(AttributeTargets.Class)] public class ConfigurationSectionNameAttribute : Attribute {