Esempio n. 1
0
 public void Add(string command, string description, string semicolonSeparatedArgumentNameList, IcebotCommandDelegate callback)
 {
     _regCommands.Add(new Tuple<string, string, string[], IcebotCommandDelegate>(command.ToLower(), description, semicolonSeparatedArgumentNameList.Split(';'), callback));
 }
Esempio n. 2
0
 public void Add(string command, string description, string[] argumentNameList, IcebotCommandDelegate callback)
 {
     _regCommands.Add(new Tuple<string, string, string[], IcebotCommandDelegate>(command.ToLower(), description, argumentNameList, callback));
 }
Esempio n. 3
0
 public void Add(string command, string description, IcebotCommandDelegate callback)
 {
     _regCommands.Add(new Tuple<string, string, string[], IcebotCommandDelegate>(command.ToLower(), description, new string[] { }, callback));
 }