Microsoft.Extensions.Configuration.CommandLine Extension methods for registering with . Adds an that reads configuration values from the command line. The to add to. The command line args. The . Adds an that reads configuration values from the command line using the specified switch mappings. The to add to. The command line args. The switch mappings. The . Adds an that reads configuration values from the command line. The to add to. Configures the source. The . A command line based . Initializes a new instance. The command line args. The switch mappings. The command line arguments. Loads the configuration data from the command line args. Represents command line arguments as an . Gets or sets the switch mappings. Gets or sets the command line args. Builds the for this source. The . A Keys in switch mappings are case-insensitive. A duplicated key '{0}' was found. Keys in switch mappings are case-insensitive. A duplicated key '{0}' was found. The switch mappings contain an invalid switch '{0}'. The switch mappings contain an invalid switch '{0}'. The short switch '{0}' is not defined in the switch mappings. The short switch '{0}' is not defined in the switch mappings.