CommandLineConfigurationSource Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents command-line arguments as an IConfigurationSource.
public ref class CommandLineConfigurationSource : Microsoft::Extensions::Configuration::IConfigurationSource
public class CommandLineConfigurationSource : Microsoft.Extensions.Configuration.IConfigurationSource
type CommandLineConfigurationSource = class
interface IConfigurationSource
Public Class CommandLineConfigurationSource
Implements IConfigurationSource
- Inheritance
-
CommandLineConfigurationSource
- Implements
Constructors
| CommandLineConfigurationSource() |
Initializes a new instance of CommandLineConfigurationSource. |
Properties
| Args |
Gets or sets the command line arguments. |
| SwitchMappings |
Gets or sets the switch mappings. |
Methods
| Build(IConfigurationBuilder) |
Builds the CommandLineConfigurationProvider for this source. |