CommandLineConfigurationProvider constructor

CommandLineConfigurationProvider(
  1. Iterable<String> args,
  2. LinkedHashMap<String, String>? switchMappings
)

Initializes a new instance.

Implementation

CommandLineConfigurationProvider(
  Iterable<String> args,
  LinkedHashMap<String, String>? switchMappings,
) : _args = args {
  if (switchMappings != null) {
    _switchMappings = _getValidatedSwitchMappingsCopy(switchMappings);
  }
}