public override void Execute() { ResponseBox.KeyDown(EventHandler); List <List <string> > commands = CommandDefinitionManager.GetAllCommands().Keys.ToList(); List <string> commandstrings = new List <string>(); commands.ForEach(calls => { string callstring = ""; calls.ForEach(call => { callstring += call + " "; }); commandstrings.Add(callstring); }); ResponseBox.SetItems(commandstrings); }
public string GetProperty(string property) { return(CommandDefinitionManager.GetProperty(Name, property)); }