@@ -19,7 +19,7 @@ namespace Serilog.Settings.Configuration
19
19
class ConfigurationReader : IConfigurationReader
20
20
{
21
21
const string LevelSwitchNameRegex = @"^\$[A-Za-z]+[A-Za-z0-9]*$" ;
22
- const string ConfigSectionHintChar = ">" ;
22
+ const string NestedConfigHintChar = ">" ;
23
23
24
24
static IConfiguration _configuration ;
25
25
@@ -222,7 +222,7 @@ internal ILookup<string, Dictionary<string, IConfigurationArgumentValue>> GetMet
222
222
let name = GetSectionName ( child )
223
223
let callArgs = ( from argument in child . GetSection ( "Args" ) . GetChildren ( )
224
224
select new {
225
- Name = argument . Key . Replace ( ConfigSectionHintChar , string . Empty ) ,
225
+ Name = argument . Key . Replace ( NestedConfigHintChar , string . Empty ) ,
226
226
Value = GetArgumentValue ( argument ) } ) . ToDictionary ( p => p . Name , p => p . Value )
227
227
select new { Name = name , Args = callArgs } ) )
228
228
. ToLookup ( p => p . Name , p => p . Args ) ;
@@ -238,7 +238,7 @@ IConfigurationArgumentValue GetArgumentValue(IConfigurationSection argumentSecti
238
238
}
239
239
else
240
240
{
241
- if ( argumentSection . Key . EndsWith ( ConfigSectionHintChar ) )
241
+ if ( argumentSection . Key . EndsWith ( NestedConfigHintChar ) )
242
242
{
243
243
argumentValue = new ConfigurationSectionArgumentValue ( new ConfigurationReader ( argumentSection , _configurationAssemblies , _dependencyContext ) ) ;
244
244
}
0 commit comments