private void ShowReturnResultInListBox(DataEntities.ReturnResult results) { foreach (var result in results) { if (result.ShowInUI == true) { ShowReturnResultInListBox(result); } } }
public DataEntities.ReturnResult Input(string input) { var ret = new DataEntities.ReturnResult(); using (CommandHandler commandHandlerBLL = new CommandHandler(this.Game)) { var result = commandHandlerBLL.ProcessCommand(input); ret.Add(result); } return(ret); }