Beispiel #1
0
        public MainPageViewModel(IMvxNavigationService navigationService)
        {
            this.navigationService = navigationService;
            var dal       = FakeDAL.OurFakeDal();
            var underrail = d_Underrail.Generate(dal);

            Games.Add(new GameViewModel(navigationService, dal, underrail));
            ViewGameCommand = new MvxAsyncCommand <GameViewModel>(async g => await navigationService.Navigate(g));
            Test            = "this was bound";
        }
Beispiel #2
0
        public BaseTest()
        {
            dal       = FakeDAL.OurFakeDal();
            underrail = d_Underrail.Generate(dal);
            var build = new Build {
                Name = "New Build", Game = underrail
            };

            dal.Save(build);
            manager = new BuildDefinitionManager(dal, underrail, build);
        }