Ejemplo n.º 1
0
 public GamePageViewModel(INavigationService navigationService,
                          IAppDictionaryLocalRepository appDictionaryLocalRepository,
                          IGameContentAppService gameContentAppService)
     : base(navigationService, appDictionaryLocalRepository)
 {
     _gameContentAppService = gameContentAppService;
 }
Ejemplo n.º 2
0
 public BindableContentBaseViewModel(INavigationService navigationService,
                                     IAppDictionaryLocalRepository appDictionaryLocalRepository)
     : base(navigationService)
 {
     Actions = new ObservableCollection <GameActionVm>();
     _appDictionaryLocalRepository = appDictionaryLocalRepository;
     ExecuteActionCommand          = new Command <GameActionVm>(async(action) => await ExecuteActionAsync(action));
 }
 public CharacterCreationPageViewModel(INavigationService navigationService,
                                       IAppDictionaryLocalRepository appDictionaryLocalRepository,
                                       ICharacterCreationAppService characterCreationAppService)
     : base(navigationService, appDictionaryLocalRepository)
 {
     _characterCreationAppService = characterCreationAppService;
     CharacterCreation            = new CharacterCreationVm();
 }
Ejemplo n.º 4
0
        public MainPageViewModel(INavigationService navigationService,
                                 IGameContentAppService gameContentAppService,
                                 IAppDictionaryLocalRepository appDictionaryLocalRepository)
            : base(navigationService, appDictionaryLocalRepository)
        {
            Title = "Main Page";

            _gameContentAppService = gameContentAppService;
        }
Ejemplo n.º 5
0
 public AppDictionaryDownloadTasksService(IAppDictionaryExternalRepository appDictionaryExternalRepository,
                                          IAppDictionaryLocalRepository appDictionaryLocalRepository)
 {
     _appDictionaryExternalRepository = appDictionaryExternalRepository;
     _appDictionaryLocalRepository    = appDictionaryLocalRepository;
 }