Пример #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));
 }
Пример #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));
 }
Пример #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));
 }