예제 #1
0
 public CommandBuilder WithPositionalString(string name, bool required = false)
 {
     var param = new CommandPositionalParameter(name, false, required, x => x);
     _lastCommand.PositionalParameters.Add(param);
     return this;
 }
 public ParserPositionalParameterResult(CommandPositionalParameter parameter, string firstValue)
 {
     Values = new List<string> { firstValue };
     Parameter = parameter;
 }