예제 #1
0
 public ArgumentImplementation(int index, string name, string description, Type type, GetPossibilitiesMethodDelegate getPossibilitiesMethod, GetStringForPossibilityMethodDelegate getStringForPossibilityMethod)
 {
     this.index                         = index;
     this.Name                          = name;
     this.Description                   = description;
     this.Type                          = type;
     this.getPossibilitiesMethod        = getPossibilitiesMethod;
     this.getStringForPossibilityMethod = getStringForPossibilityMethod;
 }
예제 #2
0
 protected void addArgument(string name, string description, Type type, GetPossibilitiesMethodDelegate getPossibilitiesMethod, GetStringForPossibilityMethodDelegate getStringForPossibilityMethod)
 => arguments.Add(new ArgumentImplementation(arguments.Count, name, description, type, getPossibilitiesMethod, getStringForPossibilityMethod));