コード例 #1
0
 private void ShowReturnResultInListBox(DataEntities.ReturnResult results)
 {
     foreach (var result in results)
     {
         if (result.ShowInUI == true)
         {
             ShowReturnResultInListBox(result);
         }
     }
 }
コード例 #2
0
        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);
        }