public ArgumentData(ArgumentSpecification argSpec, ArgumentDataMatches argDataMatches)
        {
            ArgData = DictionaryBridger <string, Regex, ICollection <string> > .Bridge(argSpec.Args, argDataMatches.ArgsMatches);

            OptArgData = DictionaryBridger <string, Regex, ICollection <string> > .Bridge(argSpec.OptArgs, argDataMatches.OptArgsMatches);
        }
示例#2
0
 public Command(string root, ArgumentSpecification argSpec)
 {
     Root    = root;
     ArgSpec = argSpec;
     AssignArgumentSpecifications();
 }