public void RegisterCommand(string command, string usage, string description) { if (String.IsNullOrEmpty(command)) return; PluginCommand c = new PluginCommand(); c._description = description; c._command = command; c._usage = usage; RegisterCommand(c); }
public void RegisterCommand(string command, string usage, string description) { if (String.IsNullOrEmpty(command)) { return; } PluginCommand c = new PluginCommand(); c._description = description; c._command = command; c._usage = usage; RegisterCommand(c); }
public void RegisterCommand(PluginCommand command) { Commands.Add(Commands.Count, command); }