示例#1
0
 public Command(string[] commands, ParameterMethod <string> methodToCall, string description, int argumentsCount = 0)
 {
     _commandList    = commands;
     _methodToCall   = methodToCall;
     _description    = description;
     _argumentsCount = argumentsCount;
 }
示例#2
0
 public ExchangeParameter(
     ParameterMethod parameterMethod,
     string name,
     StandardParameter standard)
 {
     ParameterMethod             = parameterMethod;
     ExchangeParameterName       = name;
     DefaultValue                = null;
     StandardParameterIdentifier = standard;
     IsLowercase = false;
 }