ConfigurationExtensions
Extension methods for configuration classes./>.
public static IConfigurationBuilder Add<TSource>(this IConfigurationBuilder builder, Action<TSource> configureSource) where TSource : IConfigurationSource
Adds a new configuration source.
public static IEnumerable<KeyValuePair<string, string>> AsEnumerable(this IConfiguration configuration)
Get the enumeration of key value pairs within the IConfiguration
public static IEnumerable<KeyValuePair<string, string>> AsEnumerable(this IConfiguration configuration, bool makePathsRelative)
Get the enumeration of key value pairs within the IConfiguration
Determines whether the section has a Value or has children
Shorthand for GetSection("ConnectionStrings")[name].