示例#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));
 }