public static IConfigurationBuilder AddCs( this IConfigurationBuilder builder, string filePath, Encoding fileEncoding = null, IEnumerable<string> preloadFiles = null) { var provider = new CsConfigurationProvider(filePath, fileEncoding, preloadFiles); return builder.Add(provider); }
public static IConfigurationBuilder AddCs( this IConfigurationBuilder builder, string filePath, Encoding fileEncoding = null, IEnumerable <string> preloadFiles = null) { var provider = new CsConfigurationProvider(filePath, fileEncoding, preloadFiles); return(builder.Add(provider)); }