diff --git a/src/libraries/Microsoft.Extensions.Configuration.Abstractions/src/ConfigurationExtensions.cs b/src/libraries/Microsoft.Extensions.Configuration.Abstractions/src/ConfigurationExtensions.cs index 0618e9b018e41..71cc406e34d17 100644 --- a/src/libraries/Microsoft.Extensions.Configuration.Abstractions/src/ConfigurationExtensions.cs +++ b/src/libraries/Microsoft.Extensions.Configuration.Abstractions/src/ConfigurationExtensions.cs @@ -15,7 +15,7 @@ public static class ConfigurationExtensions /// /// Adds a new configuration source. /// - /// The to add to. + /// The builder to add to. /// Configures the source secrets. /// The . public static IConfigurationBuilder Add(this IConfigurationBuilder builder, Action configureSource) where TSource : IConfigurationSource, new() @@ -28,7 +28,7 @@ public static class ConfigurationExtensions /// /// Shorthand for GetSection("ConnectionStrings")[name]. /// - /// The configuration. + /// The configuration to enumerate. /// The connection string key. /// The connection string. public static string GetConnectionString(this IConfiguration configuration, string name) @@ -39,14 +39,14 @@ public static string GetConnectionString(this IConfiguration configuration, stri /// /// Get the enumeration of key value pairs within the /// - /// The to enumerate. + /// The configuration to enumerate. /// An enumeration of key value pairs. public static IEnumerable> AsEnumerable(this IConfiguration configuration) => configuration.AsEnumerable(makePathsRelative: false); /// /// Get the enumeration of key value pairs within the /// - /// The to enumerate. + /// The configuration to enumerate. /// If true, the child keys returned will have the current configuration's Path trimmed from the front. /// An enumeration of key value pairs. public static IEnumerable> AsEnumerable(this IConfiguration configuration, bool makePathsRelative) @@ -73,6 +73,8 @@ public static IEnumerable> AsEnumerable(this IConfi /// /// Determines whether the section has a or has children /// + /// The section to enumerate. + /// if the section has values or children; otherwise, . public static bool Exists(this IConfigurationSection section) { if (section == null) @@ -85,7 +87,7 @@ public static bool Exists(this IConfigurationSection section) /// /// Gets a configuration sub-section with the specified key. /// - /// + /// The configuration to enumerate. /// The key of the configuration section. /// The . ///