public static TConfiguration AddConfigurationBase<TConfiguration>(this IServiceCollection services, IConfiguration configuration, string configSectionName) where TConfiguration : ConfigurationBase
Adds a configuration class that inherits from to the service collection.
The configuration is bound from the specified configuration section and registered as both the specific
type and the base type for dependency injection.