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)); }
public void Add(string command, string description, string[] argumentNameList, IcebotCommandDelegate callback) { _regCommands.Add(new Tuple<string, string, string[], IcebotCommandDelegate>(command.ToLower(), description, argumentNameList, callback)); }
public void Add(string command, string description, IcebotCommandDelegate callback) { _regCommands.Add(new Tuple<string, string, string[], IcebotCommandDelegate>(command.ToLower(), description, new string[] { }, callback)); }