/// <summary> /// Initializes a new instance of the <see cref="CommandLineConfigurationProvider"/> class. /// </summary> /// <param name="source">The source settings.</param> public CommandLineConfigurationProvider(CommandLineConfigurationSource source) { TargetType = source.TargetType; Namespace = TargetType.Namespace.Split('.').First(); CommandLine = source.CommandLine; MultiValuedArguments = source.MultiValuedArguments; }
/// <summary> /// Initializes a new instance of the <see cref="CommandLineConfigurationProvider"/> class. /// </summary> /// <param name="source">The source settings.</param> public CommandLineConfigurationProvider(CommandLineConfigurationSource source) { TargetType = source.TargetType; Namespace = TargetType.Namespace.Split('.').First(); CommandLine = source.CommandLine; }