internal bool TryGetAndRemoveAdditionalExplicitParameters(CommandLineArgument argument, out List <string> result) { foreach (var knownKey in AdditionalExplicitParameters.Keys) { if (argument.IsMatch(knownKey)) { result = AdditionalExplicitParameters[knownKey]; AdditionalExplicitParameters.Remove(knownKey); return(true); } } result = null; return(false); }
internal bool TryGetAndRemoveAdditionalExplicitParameters(CommandLineArgument argument, out List<string> result) { foreach(var knownKey in AdditionalExplicitParameters.Keys) { if(argument.IsMatch(knownKey)) { result = AdditionalExplicitParameters[knownKey]; AdditionalExplicitParameters.Remove(knownKey); return true; } } result = null; return false; }