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); }
public Command(string root, ArgumentSpecification argSpec) { Root = root; ArgSpec = argSpec; AssignArgumentSpecifications(); }