Exemple #1
0
        public void GenerateEasyMoveTest()
        {
            IBot  bot  = new EasyBot();
            IGame game = TestHelper.CreateGame(PlayerType.Bot, bot);

            game.MakeMove(1);

            int move = bot.GenerateMove(game);
        }
 public override System.Web.Mvc.EmptyResult SubscribeOnHistory(EasyBot.Models.InstrumentRequestModel model)
 {
     var callInfo = new T4MVC_System_Web_Mvc_EmptyResult(Area, Name, ActionNames.SubscribeOnHistory);
     ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "model", model);
     SubscribeOnHistoryOverride(callInfo, model);
     return callInfo;
 }
 partial void SubscribeOnHistoryOverride(T4MVC_System_Web_Mvc_EmptyResult callInfo, EasyBot.Models.InstrumentRequestModel model);
 public override System.Web.Mvc.JsonResult SetInstrumentsSettings(EasyBot.Models.InstrumentsListRequestModel model)
 {
     var callInfo = new T4MVC_System_Web_Mvc_JsonResult(Area, Name, ActionNames.SetInstrumentsSettings);
     ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "model", model);
     SetInstrumentsSettingsOverride(callInfo, model);
     return callInfo;
 }
 partial void SetInstrumentsSettingsOverride(T4MVC_System_Web_Mvc_JsonResult callInfo, EasyBot.Models.InstrumentsListRequestModel model);
 public override System.Threading.Tasks.Task<System.Web.Mvc.ActionResult> ExternalLoginConfirmation(EasyBot.Models.ExternalLoginConfirmationViewModel model, string returnUrl)
 {
     var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ExternalLoginConfirmation);
     ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "model", model);
     ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "returnUrl", returnUrl);
     ExternalLoginConfirmationOverride(callInfo, model, returnUrl);
     return System.Threading.Tasks.Task.FromResult(callInfo as System.Web.Mvc.ActionResult);
 }
 partial void ExternalLoginConfirmationOverride(T4MVC_System_Web_Mvc_ActionResult callInfo, EasyBot.Models.ExternalLoginConfirmationViewModel model, string returnUrl);
 public override System.Threading.Tasks.Task<System.Web.Mvc.ActionResult> SendCode(EasyBot.Models.SendCodeViewModel model)
 {
     var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.SendCode);
     ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "model", model);
     SendCodeOverride(callInfo, model);
     return System.Threading.Tasks.Task.FromResult(callInfo as System.Web.Mvc.ActionResult);
 }
 partial void SendCodeOverride(T4MVC_System_Web_Mvc_ActionResult callInfo, EasyBot.Models.SendCodeViewModel model);
 partial void ResetPasswordOverride(T4MVC_System_Web_Mvc_ActionResult callInfo, EasyBot.Models.ResetPasswordViewModel model);
 partial void RegisterOverride(T4MVC_System_Web_Mvc_ActionResult callInfo, EasyBot.Models.RegisterViewModel model);
 partial void LoginOverride(T4MVC_System_Web_Mvc_ActionResult callInfo, EasyBot.Models.LoginViewModel model, string returnUrl);
 public override System.Threading.Tasks.Task<System.Web.Mvc.ActionResult> ManageLogins(EasyBot.Controllers.ManageController.ManageMessageId? message)
 {
     var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ManageLogins);
     ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "message", message);
     ManageLoginsOverride(callInfo, message);
     return System.Threading.Tasks.Task.FromResult(callInfo as System.Web.Mvc.ActionResult);
 }
 partial void ManageLoginsOverride(T4MVC_System_Web_Mvc_ActionResult callInfo, EasyBot.Controllers.ManageController.ManageMessageId? message);
 partial void VerifyPhoneNumberOverride(T4MVC_System_Web_Mvc_ActionResult callInfo, EasyBot.Models.VerifyPhoneNumberViewModel model);