public IRadegastCommand AddCmd(string name, string desc, string usage, CommandExecuteDelegate executeDelegate) { IRadegastCommand cmd = new RadegastCommand(instance, executeDelegate) { Name = name, Description = name, Usage = usage }; LoadCommand(cmd); return(cmd); }
public IRadegastCommand AddCmd(string name, string desc, string usage, CommandExecuteDelegate executeDelegate) { IRadegastCommand cmd = new RadegastCommand(instance, executeDelegate) { Name = name, Description = name, Usage = usage }; LoadCommand(cmd); return cmd; }