public static IConfigurationSourceContainer AddCommandLine(this IConfigurationSourceContainer configuration, string[] args) { configuration.Add(new CommandLineConfigurationSource(args)); return(configuration); }
public static IConfigurationSourceContainer AddEnvironmentVariables(this IConfigurationSourceContainer configuration, string prefix) { configuration.Add(new EnvironmentVariablesConfigurationSource(prefix)); return(configuration); }
public static IConfigurationSourceContainer AddIniFile(this IConfigurationSourceContainer configuration, string path) { configuration.Add(new IniFileConfigurationSource(path)); return(configuration); }