public MainPageViewModel(INavigationService navigationService, IPageDialogService dialogService)
 {
     CommandLogarFacebook = new DelegateCommand(LogarFacebook);
     CommandLogar = new DelegateCommand(Autenticar);
     _navigationService = navigationService;
     _dialogservice = dialogService;
 }
Example #2
0
        public ViewBViewModel(INavigationService navigationService, IPageDialogService pageDialogService)
        {
            _navigationService = navigationService;
            _pageDialogService = pageDialogService;

            NavigateCommand = new DelegateCommand(GoBack);

            DisplayAlertCommand = new DelegateCommand(DisplayAlert);
        }
        public MainPageViewModel(IPageDialogService pageDialogService)
        {
            _pageDialogService = pageDialogService;

            DisplayAlertCommand = new DelegateCommand(DisplayAlert);

            DisplayActionSheetCommand = new DelegateCommand(DsiplayActionSheet);

            DisplayActionSheetUsingActionSheetButtonsCommand = new DelegateCommand(DisplayActionSheetUsingActionSheetButtons);
        }
Example #4
0
 public EquipmentEditViewModel(INavigationService navigationService, IPageDialogService pageDialogService, IDeviceService deviceService) : base(navigationService, pageDialogService, deviceService)
 {
     SaveCommand   = new DelegateCommand(Save);
     DzestCommand  = new DelegateCommand(Dzest);
     CancelCommand = new DelegateCommand(Cancel);
 }
Example #5
0
 public SecondPage(IPageDialogService dialogService, INavigationService navigationService)
 {
     _navigationService     = navigationService;
     ClickNavigationCommand = new DelegateCommand(ExecuteClickNavigationCommand);
     _dialogService         = dialogService;
 }
 public ProfileViewModel(INavigationService navigationService, IPageDialogService dialogService) : base(navigationService, dialogService)
 {
     _navigationService      = navigationService;
     _tbl_UserMaster_Queries = new tbl_UserMaster_Queries();
 }
Example #7
0
 public ViewModelBase(INavigationService navigationService, IPageDialogService pageDialogService)
 {
     NavigationService = navigationService;
     DialogService     = pageDialogService;
 }
        public HomePageViewModel(INavigationService navigationService, IEventAggregator eventAggregator, IPageDialogService pageDialogService)
        {
            _navigationService = navigationService;
            _eventAggregator   = eventAggregator;

            Title = "Your Feedback (Read only)";

            _eventAggregator.GetEvent <IsFunChangedEvent>().Subscribe(IsFunChanged);
            EntryCommand  = new DelegateCommand(OnEntryCommandTapped);
            GoBackCommand = new DelegateCommand(OnGoBackCommandTapped);
        }
 public LoginPageViewModel(INavigationService navigationService, IPageDialogService pageDialogService)
     : base(navigationService)
 {
     this.pageDialogService = pageDialogService;
     GoToMainPage           = new DelegateCommand(GoToMainPageExecute);
 }
Example #10
0
        public TabDrinkPageViewModel(INavigationService navigationService, IRepository repository, IPageDialogService pageDialogService)
        {
            nav_service  = navigationService;
            page_service = pageDialogService;
            _repo        = repository;

            PlaceOrder  = "Chocolate Shake \n $2.20";
            PlaceOrder1 = "Vanilla Shake \n $2.20";
            PlaceOrder2 = "Strawberry Shake \n $2.20";
            PlaceOrder3 = "Soda \n $2.20";
            TapToOrder  = new DelegateCommand(AddToCart);
            TapToOrder1 = new DelegateCommand(AddToCart1);
            TapToOrder2 = new DelegateCommand(AddToCart2);
            TapToOrder3 = new DelegateCommand(AddToCart3);
        }
Example #11
0
        public SoundsPageViewModel(INavigationService navigationService
                                   , IPageDialogService pageDialogService
                                   , IAudioPlayerService audioPlayerService
                                   , IToastMessage toastMessage)
        {
            _navigationService  = navigationService;
            _pageDialogService  = pageDialogService;
            _audioPLayerService = audioPlayerService;
            _toastMessage       = toastMessage;

            Categories = new ObservableCollection <Category>
            {
                new Category
                {
                    Title        = AppResource.Nature,
                    ControlColor = Color.Green,
                    SoundsList   = new ObservableCollection <SoundSample>
                    {
                        new SoundSample {
                            Name = AppResource.Fireplace, Icon = Helpers.ImageNameHelper.FirePLace, Path = Constants.Constants.Fireplace
                        },
                        new SoundSample {
                            Name = AppResource.Forest, Icon = Helpers.ImageNameHelper.Forest, Path = Constants.Constants.Forest
                        },
                        new SoundSample {
                            Name = AppResource.Storm, Icon = Helpers.ImageNameHelper.Storm, Path = Constants.Constants.Thunder
                        },
                        new SoundSample {
                            Name = AppResource.Rain, Icon = Helpers.ImageNameHelper.Rain, Path = Constants.Constants.SmallRain
                        },
                        new SoundSample {
                            Name = AppResource.Sea, Icon = Helpers.ImageNameHelper.Sea, Path = Constants.Constants.Sea
                        },
                        new SoundSample {
                            Name = AppResource.Space, Icon = Helpers.ImageNameHelper.Night, Path = Constants.Constants.Space
                        },
                        new SoundSample {
                            Name = AppResource.Bonfire, Icon = Helpers.ImageNameHelper.Bonfire1, Path = Constants.Constants.Bonfire
                        },
                        new SoundSample {
                            Name = AppResource.Night, Icon = Helpers.ImageNameHelper.NightForest, Path = Constants.Constants.Night
                        },
                        new SoundSample {
                            Name = AppResource.Snowstorm, Icon = Helpers.ImageNameHelper.SnowStorm, Path = Constants.Constants.Snowstorm
                        }
                    }
                },
                new Category
                {
                    Title        = AppResource.Technick,
                    ControlColor = Color.Red,
                    SoundsList   = new ObservableCollection <SoundSample>
                    {
                        new SoundSample {
                            Name = AppResource.City, Icon = Helpers.ImageNameHelper.City, Path = Constants.Constants.City
                        },
                        new SoundSample {
                            Name = AppResource.Helicopter, Icon = Helpers.ImageNameHelper.Helicopter, Path = Constants.Constants.Helicopter
                        },
                        new SoundSample {
                            Name = AppResource.Keyboard, Icon = Helpers.ImageNameHelper.Keyboard, Path = Constants.Constants.Keyboard
                        },
                        new SoundSample {
                            Name = AppResource.Mixer, Icon = Helpers.ImageNameHelper.Mixer, Path = Constants.Constants.Mixer
                        },
                        new SoundSample {
                            Name = AppResource.CoffeeMashine, Icon = Helpers.ImageNameHelper.CoffeeMashine, Path = Constants.Constants.CoffeeMashine
                        },
                        new SoundSample {
                            Name = AppResource.Train, Icon = Helpers.ImageNameHelper.Train, Path = Constants.Constants.Train
                        },
                        new SoundSample {
                            Name = AppResource.Calculator, Icon = Helpers.ImageNameHelper.Calculator, Path = Constants.Constants.Calculator
                        },
                        new SoundSample {
                            Name = AppResource.Laminator, Icon = Helpers.ImageNameHelper.Laminator, Path = Constants.Constants.Laminator
                        },
                        new SoundSample {
                            Name = AppResource.Sail, Icon = Helpers.ImageNameHelper.Sail, Path = Constants.Constants.Sail
                        }
                    }
                },
                new Category
                {
                    Title        = AppResource.ASMR,
                    ControlColor = Color.Violet,
                    SoundsList   = new ObservableCollection <SoundSample>
                    {
                        new SoundSample {
                            Name = AppResource.Cats, Icon = Helpers.ImageNameHelper.Cat, Path = Constants.Constants.Cat
                        },
                        new SoundSample {
                            Name = AppResource.Birds, Icon = Helpers.ImageNameHelper.Bird, Path = Constants.Constants.Birds
                        },
                        new SoundSample {
                            Name = AppResource.Sea, Icon = Helpers.ImageNameHelper.UnderWater, Path = Constants.Constants.UnderWater
                        },
                        new SoundSample {
                            Name = AppResource.Snow, Icon = Helpers.ImageNameHelper.Snow, Path = Constants.Constants.Snow
                        },
                        new SoundSample {
                            Name = AppResource.Pen, Icon = Helpers.ImageNameHelper.Pen, Path = Constants.Constants.Pen
                        },
                        new SoundSample {
                            Name = AppResource.Pencil, Icon = Helpers.ImageNameHelper.Pencil, Path = Constants.Constants.Pencil
                        },
                        new SoundSample {
                            Name = AppResource.Scissors, Icon = Helpers.ImageNameHelper.Scissors, Path = Constants.Constants.Scissors
                        },
                        new SoundSample {
                            Name = AppResource.Chalk, Icon = Helpers.ImageNameHelper.Chalk, Path = Constants.Constants.Chalk
                        },
                        new SoundSample {
                            Name = AppResource.Clock, Icon = Helpers.ImageNameHelper.Clock, Path = Constants.Constants.Clock
                        }
                    }
                },
                new Category
                {
                    Title        = AppResource.Instrumental,
                    ControlColor = Color.AliceBlue,
                    SoundsList   = new ObservableCollection <SoundSample>
                    {
                        new SoundSample {
                            Name = AppResource.Harp, Icon = Helpers.ImageNameHelper.Harp, Path = Constants.Constants.Harp
                        },
                        new SoundSample {
                            Name = AppResource.Flute, Icon = Helpers.ImageNameHelper.Flute, Path = Constants.Constants.Flute
                        },
                        new SoundSample {
                            Name = AppResource.Tambourine, Icon = Helpers.ImageNameHelper.Tambourine, Path = Constants.Constants.Tambourine
                        },
                        new SoundSample {
                            Name = AppResource.Piano, Icon = Helpers.ImageNameHelper.Piano, Path = Constants.Constants.Piano
                        },
                        new SoundSample {
                            Name = AppResource.Guitar, Icon = Helpers.ImageNameHelper.Guitar, Path = Constants.Constants.Guitar
                        },
                        new SoundSample {
                            Name = AppResource.Xylophone, Icon = Helpers.ImageNameHelper.Xylophone, Path = Constants.Constants.Xylophone
                        },
                        new SoundSample {
                            Name = AppResource.ElectricGuitar, Icon = Helpers.ImageNameHelper.ElectricGuitar, Path = Constants.Constants.ElectricGuitar
                        },
                        new SoundSample {
                            Name = AppResource.Saxophone, Icon = Helpers.ImageNameHelper.Saxophone, Path = Constants.Constants.Saxophone
                        },
                        new SoundSample {
                            Name = AppResource.Meditation, Icon = Helpers.ImageNameHelper.Meditation, Path = Constants.Constants.Meditation
                        },
                    }
                },
            };
            if (_audioPLayerService.IsPlaying())
            {
                IsPlaying = true;
            }
        }
Example #12
0
 public SetUserRolePageViewModel(INavigationService navigationservice, IAppSettings settings, IUserDialogs userDialogs, IPageDialogService pageDialogService, IAccountService accountService) : base(navigationservice, settings, pageDialogService)
 {
     _accountService = accountService;
     SearchResults   = new ObservableCollection <AppUsersDTO>();
     TempResult      = new ObservableCollection <AppUsersDTO>();
 }
Example #13
0
 public CategoryPageViewModel(INavigationService navigationService, IPageDialogService dialogService) : base(navigationService, dialogService)
 {
     Xamarin.Forms.MessagingCenter.Subscribe <Category>(this, "added", OnCategoryAdded);
     AddCategoryCommand = new DelegateCommand(AddCategory);
     //GetAllCategory();
 }
Example #14
0
 public MarvelSeriesPageViewModel(INavigationService navigationService, IPageDialogService dialogService, IApiComicsVine apiComicsVine) : base(navigationService, dialogService, apiComicsVine, MarvelUniverse, Disney, Offset)
 {
 }
Example #15
0
        /// <summary>
        /// デフォルトのコンストラクタです。
        /// </summary>
        public MainMasterPageViewModel(INavigationService navigationService, IPageDialogService pageDialogService) : base(navigationService)
        {
            MemberName = DbModel.Instance.ObserveProperty(x => x.MemberDisplayName).ToReactiveProperty().AddTo(Disposable);

            //メニューの初期化
            MenuItems = new ReactiveCollection <MenuItem>();
            MenuItems.Add(new MenuItem
                          (
                              ImageSource.FromResource("HLRegionChecker.Resources.Icon_SelfUpdate.png"),
                              "ステータス更新",
                              () => { SelfUpdate(pageDialogService); }
                          ));
            MenuItems.Add(new MenuItem
                          (
                              ImageSource.FromResource("HLRegionChecker.Resources.Icon_IdentifierSelection.png"),
                              "ユーザ識別子選択",
                              () =>
            {
                NavigationService.NavigateAsync("NavigationPage/StatusListPage/IdentifierSelectPage", new NavigationParameters {
                    { typeof(MainMasterPageViewModel).Name, this }
                });
            }
                          ));
            MenuItems.Add(new MenuItem
                          (
                              ImageSource.FromResource("HLRegionChecker.Resources.Icon_Open.png"),
                              "Webで確認する",
                              () =>
            {
                Uri uri = new Uri("https://hlmanager-32609.firebaseapp.com/");
                Xamarin.Forms.DependencyService.Get <IWebBrowserService>().Open(uri);
            }
                          ));
            MenuItems.Add(new MenuItem
                          (
                              ImageSource.FromResource("HLRegionChecker.Resources.Icon_Info.png"),
                              "アプリ情報",
                              () =>
            {
                NavigationService.NavigateAsync("NavigationPage/StatusListPage/AppInfoPage", new NavigationParameters {
                    { typeof(MainMasterPageViewModel).Name, this }
                });
            }
                          ));

            if (Device.RuntimePlatform == Device.Android)
            {
                // Droid専用メニュー
                MenuItems.Add(new MenuItem
                              (
                                  ImageSource.FromResource("HLRegionChecker.Resources.Icon_RegisterGeofences.png"),
                                  "ジオフェンス再登録",
                                  () =>
                {
                    var rgAdapter = Xamarin.Forms.DependencyService.Get <IRegisterGeofences>();
                    rgAdapter.Register();
                    pageDialogService.DisplayAlertAsync("完了", "ジオフェンスの再登録処理を行いました。", "OK");
                }
                              ));

                var beaconServiceMenu = new MenuItem();
                MenuItems.Add(beaconServiceMenu);
                RegisterBeaconServiceMenu(beaconServiceMenu, pageDialogService);
            }

            //メニューが選択された際の処理
            ItemSelectedCommand = new Command <MenuItem>((item) =>
            {
                IsPresented.Value = false;
                item.OnSelectedAction();
            });
        }
Example #16
0
 public MainPageViewModel(INavigationService navigationService, IFacade facade, IPageDialogService dialogService)
     : base(navigationService, facade, dialogService)
 {
     Title = "Main Page";
     this._dialogService       = dialogService;
     this._facade              = facade;
     this._navService          = navigationService;
     LockCommand               = new DelegateCommand(Lock);
     UnlockCommand             = new DelegateCommand(Unlock);
     NavigateToActivityHistory = new DelegateCommand(async() => await this._navService.NavigateAsync(nameof(Views.ActivityHistoryPage)));
     NavigateToPinGenerator    = new DelegateCommand(async() => await SendNewPin());
     NavigateToCurrentPins     = new DelegateCommand(async() => await this._navService.NavigateAsync(nameof(Views.CurrentPinsPage)));
     LogOut = new DelegateCommand(async() => await this.OnBackButtonPressed());
     this.listenForMessagesThread = new Thread(async() => await ListenForMessages(this._poolingRate));
     this.listenForMessagesThread.Start();
 }
Example #17
0
 public APageViewModel(INavigationService navigationService, IPageDialogService pageDialogService)
 {
     this._navigationService = navigationService;
     this._pageDialogService = pageDialogService;
 }
Example #18
0
        public DisplaySingleRecipeViewModel(INavigationService navigationService, IRecipeService recipeService, IPageDialogService pageDialog, ILocalDataService localDataService)
            : base(navigationService)
        {
            recipe             = new Recipe();
            _pageDialog        = pageDialog;
            _navigationService = navigationService;

            DeleteRecipe = new Command(deleterecipe_execute);
            db           = new SqliteDataService();
        }
Example #19
0
 public ProcuraPageViewModel(INavigationService navigationService, IPageDialogService dialogService) : base(navigationService)
 {
     _dialogService = dialogService;
     Title          = "Procura";
     Popula();
 }
        public EnregistrementDetailViewModel(INavigationService navigationService, IEnregistrementService enregistrementService, IPageDialogService dialogService)
            : base(navigationService)
        {
            Title = "Détail de l'enregistrement";
            _enregistrementService = enregistrementService;
            _dialogService         = dialogService;

            CommandEditEnregistrement   = new DelegateCommand(EditEnregistrement);
            CommandDeleteEnregistrement = new DelegateCommand(DeleteEnregistrement);
        }
Example #21
0
 public MainPageViewModel(IPageDialogService pageDialogService, IHandleSound handleSound)
 {
     _pageDialogService = pageDialogService;
     _handleSound       = handleSound;
 }
Example #22
0
 public ErroViewModel(INavigationService navigationService, IPageDialogService pageDialogService, IApiService ApiService) : base(navigationService, pageDialogService)
 {
 }
Example #23
0
 public ViewModelBase(INavigationService navigationService, IPageDialogService pageDialogService, IUserDialogs userDialogs)
 {
     NavigationService = navigationService;
     DialogService     = pageDialogService;
     UserDialogs       = userDialogs;
 }
Example #24
0
 protected AboutViewModel(INavigationService navigationService, IPageDialogService pageDialogService) : base(navigationService, pageDialogService)
 {
     Version = "Version: " + VersionTracking.CurrentVersion;
 }
Example #25
0
        public LoginPageViewModel(INavigationService navigationService, IGoogleLoginService googleLoginService, IPageDialogService pageDialogService) : base(navigationService)
        {
            _googleLoginService = googleLoginService;
            _pageDialogService  = pageDialogService;

            _googleLoginService.LoginCompletedNotifier
            .ObserveOn(SynchronizationContext.Current)
            .SelectMany(_ =>
            {
                var navigation = NavigationFactory.Create <MainPageViewModel>()
                                 .Add(NavigationNameProvider.DefaultNavigationPageName)
                                 .Add <HomePageViewModel>();
                return(NavigateAsync(navigation, noHistory: true));
            })
            .Subscribe()
            .AddTo(_disposables);

            _googleLoginService.LoginErrorNotifier
            .ObserveOn(SynchronizationContext.Current)
            .Subscribe(_ => _pageDialogService.DisplayAlertAsync("エラー", "ログインに失敗しました", "OK"))
            .AddTo(_disposables);

            _googleLoginService.IsLoggingIn
            .Skip(1)
            .Where(b => b)
            .ObserveOn(SynchronizationContext.Current)
            .SelectMany(_ => NavigateAsync <LoadingPageViewModel>())
            .Subscribe()
            .AddTo(_disposables);

            _googleLoginService.IsLoggingIn
            .Skip(1)
            .Where(b => !b)
            .ObserveOn(SynchronizationContext.Current)
            .SelectMany(_ => GoBackAsync())
            .Subscribe()
            .AddTo(_disposables);

            LoginWithGoogleCommand = _isIdle.ToAsyncReactiveCommand();
            LoginWithGoogleCommand.Subscribe(async() => await _googleLoginService.Login());

            LoginWithEmailCommand = _isIdle.ToAsyncReactiveCommand();
            LoginWithEmailCommand.Subscribe(async() => await NavigateAsync <EmailLoginPageViewModel>());

            SignupCommand = _isIdle.ToAsyncReactiveCommand();
            SignupCommand.Subscribe(async() => await NavigateAsync <SignupPageViewModel>());
        }
 public PopularArtistsViewModel(IRestService restService, INavigationService navigationService, IPageDialogService pageDialogService, IUserDialogs userDialogs, IStorageService storageService)
 {
     _restService       = restService;
     _navigationService = navigationService;
     _pageDialogService = pageDialogService;
     _userDialogs       = userDialogs;
     _storageService    = storageService;
 }
        //////////////////////////////////////CONSTRUTOR////////////////////////////////////////
        public StartPageViewModel(INavigationService navigationService, IPageDialogService pageDialogService) : base(navigationService, pageDialogService)
        {
            IPServidor = "";

            SalvarButtonCommand = new DelegateCommand(async() => await ExecuteSalvarButtonCommand());
        }
Example #28
0
        public CreateInsurancePolicyViewModel(
            IUserDialogs userDialogs,
            HttpClient httpClient,
            IInitialDataService initialDataService,
            IODataClient oDataClient,
            IInsuranceValidator insuranceValidator,
            IPageDialogService dialogService,
            IPolicyService policyService,
            ILicenseHelper licenseHelper,
            IDateHelper dateHelper,
            ISanaapAppTranslateService translateService
            )
        {
            _oDataClient        = oDataClient;
            _userDialogs        = userDialogs;
            _initialDataService = initialDataService;
            _licenseHelper      = licenseHelper;
            _dialogService      = dialogService;
            _dateHelper         = dateHelper;

            foreach (InsuranceType item in (InsuranceType[])Enum.GetValues(typeof(InsuranceType)))
            {
                InsuranceTypes.Add(new InsuranceTypeItemSource
                {
                    InsuranceType     = item,
                    InsuranceTypeName = EnumHelper <InsuranceType> .GetDisplayValue(item)
                });
            }

            SelectedInsuranceType = InsuranceTypes[0];

            Submit = new BitDelegateCommand(async() =>
            {
                insuranceCancellationTokenSource?.Cancel();
                insuranceCancellationTokenSource = new CancellationTokenSource();

                using (_userDialogs.Loading(ConstantStrings.Loading, cancelText: ConstantStrings.Loading_Cancel, onCancel: insuranceCancellationTokenSource.Cancel))
                {
                    if (SelectedCar == null)
                    {
                        await dialogService.DisplayAlertAsync(ConstantStrings.Error, ConstantStrings.CarIsNull, ConstantStrings.Ok);
                        return;
                    }
                    if (SelectedInsurer == null)
                    {
                        await dialogService.DisplayAlertAsync(ConstantStrings.Error, ConstantStrings.InsurerIsNull, ConstantStrings.Ok);
                        return;
                    }
                    if (SelectedAlphabet == null)
                    {
                        await dialogService.DisplayAlertAsync(ConstantStrings.Error, ConstantStrings.NumberPlateIsNotValid, ConstantStrings.Ok);
                        return;
                    }
                    if (SelectedColor == null)
                    {
                        await dialogService.DisplayAlertAsync(ConstantStrings.Error, ConstantStrings.ColorIsNull, ConstantStrings.Ok);
                        return;
                    }

                    if (SelectedDate == null)
                    {
                        await dialogService.DisplayAlertAsync(ConstantStrings.Error, ConstantStrings.ExpirationDateIsNotValid, ConstantStrings.Ok);
                        return;
                    }

                    License.Alphabet = SelectedAlphabet.Name;

                    Policy.ExpirationDate = new DateTimeOffset((DateTime)SelectedDate, DateTimeOffset.Now.Offset);

                    if (licenseHelper.ConvertToPlateNumber(License, out string licensePlate))
                    {
                        Policy.PlateNumber = licensePlate;
                    }
                    else
                    {
                        return;
                    }

                    if (!insuranceValidator.IsValid(Policy, out string errorMessage))
                    {
                        await dialogService.DisplayAlertAsync(string.Empty, translateService.Translate(errorMessage), ConstantStrings.Ok);
                        return;
                    }

                    Policy.ColorId       = SelectedColor.PrmID;
                    Policy.CarId         = SelectedCar.PrmID;
                    Policy.InsuranceType = SelectedInsuranceType.InsuranceType;
                    Policy.InsurerId     = SelectedInsurer.ID;


                    policyCancellationTokenSource?.Cancel();
                    policyCancellationTokenSource = new CancellationTokenSource();

                    using (userDialogs.Loading(ConstantStrings.Loading, cancelText: ConstantStrings.Loading_Cancel, onCancel: policyCancellationTokenSource.Cancel))
                    {
                        if (method == EditMethod.Create)
                        {
                            await policyService.AddAsync(Policy);
                        }
                        else
                        {
                            await policyService.UpdateAsync(Policy);
                        }
                    }
                }
                await dialogService.DisplayAlertAsync(string.Empty, ConstantStrings.SuccessfulProcess, ConstantStrings.Ok);

                await NavigationService.GoBackAsync();
            });


            SelectInsurer = new BitDelegateCommand <InsurersItemSource>(async(parameter) =>
            {
                foreach (InsurersItemSource insurer in Insurers)
                {
                    insurer.IsSelected = false;
                }

                parameter.IsSelected = true;

                SelectedInsurer = parameter;
            });
        }
Example #29
0
 public DetalhePokemonViewModel(INavigationService navigationService, IPokeApi pokeApi, IPageDialogService pageDialogService) : base(navigationService)
 {
 }
        public RowHeightsPageViewModel(INavigationService navigationService, IAppDataService appDataService, IPageDialogService dialogService)
            : base(navigationService, appDataService)
        {
            Title = "Row Heights";

            _dialogService = dialogService;
            rowHeights     = new List <int>();

            NextCommand    = new Command(NextPage);
            ToggledCommand = new Command <string>(HeightToggled);
        }
Example #31
0
 public SomeOtherViewModel(IPageDialogService dialogService)
 {
     _dialogService = dialogService;
     LoadModuleACommand = new DelegateCommand(ShowDialog);
 }
Example #32
0
 public BaseViewModel(INavigationService navigationService, IPageDialogService dialogService)
 {
     NavigationService = navigationService;
     DialogService     = dialogService;
 }
Example #33
0
 public BaseViewModel(IPageDialogService dialogService)
 {
     DialogService = dialogService;
 }
Example #34
0
 public CharacterPageViewModel(INavigationService navigationService, IPageDialogService dialogService, IApiComicsVine apiComicsVine) : base(navigationService, dialogService, apiComicsVine)
 {
 }