Class CommandLineConfigurationProvider
- Namespace
- Acuit.Pinpoint.Configuration.CommandLine
- Assembly
- Acuit.Pinpoint.Configuration.dll
A command line based ConfigurationProvider.
public class CommandLineConfigurationProvider : ConfigurationProvider, IConfigurationProvider
- Inheritance
-
CommandLineConfigurationProvider
- Implements
- Inherited Members
Constructors
CommandLineConfigurationProvider(IEnumerable<string>, IDictionary<string, string>)
Initializes a new instance.
public CommandLineConfigurationProvider(IEnumerable<string> args, IDictionary<string, string> switchMappings = null)
Parameters
args
IEnumerable<string>The command line args.
switchMappings
IDictionary<string, string>The switch mappings.
Properties
Args
The command line arguments.
protected IEnumerable<string> Args { get; }
Property Value
Methods
Load()
Loads the configuration data from the command line args.
public override void Load()