1 implementation of Path
Microsoft.Extensions.Configuration (1)
ConfigurationSection.cs (1)
39
public string
Path
=> _path;
33 references to Path
Microsoft.AspNetCore (1)
WebApplicationBuilder.cs (1)
306
throw new InvalidOperationException($"Failed to convert configuration value at '{configuration.GetSection(reloadConfigOnChangeKey).
Path
}' to type '{typeof(bool)}'.");
Microsoft.Extensions.Configuration (4)
ConfigurationSectionDebugView.cs (4)
25
public string FullPath => _section.
Path
;
49
int prefixLength = (current is IConfigurationSection rootSection) ? rootSection.
Path
.Length + 1 : 0;
56
IConfigurationProvider? provider = GetValueProvider(root, section.
Path
);
57
string path = section.
Path
.Substring(prefixLength);
Microsoft.Extensions.Configuration.Abstractions (4)
ConfigurationExtensions.cs (2)
58
int prefixLength = (makePathsRelative && configuration is IConfigurationSection rootSection) ? rootSection.
Path
.Length + 1 : 0;
65
yield return new KeyValuePair<string, string?>(section.
Path
.Substring(prefixLength), section.Value);
ConfigurationRootExtensions.cs (2)
45
(string? Value, IConfigurationProvider? Provider) valueAndProvider = GetValueAndProvider(root, child.
Path
);
50
? processValue(new ConfigurationDebugViewContext(child.
Path
, child.Key, valueAndProvider.Value, valueAndProvider.Provider))
Microsoft.Extensions.Configuration.Binder (3)
ConfigurationBinder.cs (3)
213
return ConvertValue(type, value, section.
Path
);
360
if (isConfigurationExist && TryConvertValue(type, configValue, section?.
Path
, out object? convertedValue, out Exception? error))
508
throw new InvalidOperationException(SR.Format(SR.Error_FailedBinding, configValue, section.
Path
, type));
Microsoft.Extensions.Logging.Configuration (1)
_generated\0\BindingExtensions.g.cs (1)
53
return ParseBool(value, section.
Path
);
Microsoft.Extensions.Logging.Console (20)
_generated\0\BindingExtensions.g.cs (20)
115
instance.IncludeScopes = ParseBool(value0, configuration.GetSection("IncludeScopes").
Path
);
140
instance.UseUtcTimestamp = ParseBool(value2, configuration.GetSection("UseUtcTimestamp").
Path
);
157
instance.DisableColors = ParseBool(value3, configuration.GetSection("DisableColors").
Path
);
169
instance.Format = ParseEnum<global::Microsoft.Extensions.Logging.Console.ConsoleLoggerFormat>(value4, configuration.GetSection("Format").
Path
);
194
instance.IncludeScopes = ParseBool(value6, configuration.GetSection("IncludeScopes").
Path
);
206
instance.LogToStandardErrorThreshold = ParseEnum<global::Microsoft.Extensions.Logging.LogLevel>(value7, configuration.GetSection("LogToStandardErrorThreshold").
Path
);
231
instance.UseUtcTimestamp = ParseBool(value9, configuration.GetSection("UseUtcTimestamp").
Path
);
243
instance.QueueFullMode = ParseEnum<global::Microsoft.Extensions.Logging.Console.ConsoleLoggerQueueFullMode>(value10, configuration.GetSection("QueueFullMode").
Path
);
255
instance.MaxQueueLength = ParseInt(value11, configuration.GetSection("MaxQueueLength").
Path
);
320
instance.Indented = ParseBool(value24, configuration.GetSection("Indented").
Path
);
332
instance.IndentCharacter = ParseChar(value25, configuration.GetSection("IndentCharacter").
Path
);
344
instance.IndentSize = ParseInt(value26, configuration.GetSection("IndentSize").
Path
);
369
instance.MaxDepth = ParseInt(value28, configuration.GetSection("MaxDepth").
Path
);
381
instance.SkipValidation = ParseBool(value29, configuration.GetSection("SkipValidation").
Path
);
412
instance.IncludeScopes = ParseBool(value34, configuration.GetSection("IncludeScopes").
Path
);
437
instance.UseUtcTimestamp = ParseBool(value36, configuration.GetSection("UseUtcTimestamp").
Path
);
454
instance.ColorBehavior = ParseEnum<global::Microsoft.Extensions.Logging.Console.LoggerColorBehavior>(value37, configuration.GetSection("ColorBehavior").
Path
);
466
instance.SingleLine = ParseBool(value38, configuration.GetSection("SingleLine").
Path
);
478
instance.IncludeScopes = ParseBool(value39, configuration.GetSection("IncludeScopes").
Path
);
503
instance.UseUtcTimestamp = ParseBool(value41, configuration.GetSection("UseUtcTimestamp").
Path
);