Esempio n. 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;
 }
Esempio n. 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));