public RegisterPopupPageViewModel(INavigationService navigationService, IEnvironmentApiService environmentApi, IKutyAppClientContext kutyAppClientContext)
     : base(navigationService)
 {
     Title = "register vm title";
     EnvironmentApiService = environmentApi;
     KutyAppClientContext  = kutyAppClientContext;
 }
 public PoisPageViewModel(INavigationService navigationService, IEnvironmentApiService environmentApiService, IPageDialogService dialogService) : base(navigationService)
 {
     IsBusy            = true;
     EnvironmentApi    = environmentApiService;
     PageDialogService = dialogService;
     Pois = new ObservableCollection <PoiDto>();
 }
 public MainPageViewModel(INavigationService navigationService, IEnvironmentApiService environmentApi, IPetRepository petRepository, IPageDialogService dialogService, IKutyAppClientContext kutyAppClientContext)
     : base(navigationService)
 {
     this.EnvironmentApi    = environmentApi;
     this.PageDialogService = dialogService;
     KutyAppClientContext   = kutyAppClientContext;
     //IsEnglish = CurrentLanguage == Languages.En || CurrentLanguage == Languages.Default;
     IsLoggedIn = false;
 }
        public PetDetailPageViewModel(INavigationService navigationService, IPetRepository petRepository, IMediaManager mediaManager, IEnvironmentApiService environmentApiService, IKutyAppClientContext kutyAppClientContext) : base(navigationService)
        {
            PetRepository         = petRepository;
            MediaManager          = mediaManager;
            EnvironmentApiService = environmentApiService;
            KutyAppClientContext  = kutyAppClientContext;

            Title         = "petdetail";
            SwipeEnabled  = true;
            CarouselViews = new ObservableCollection <View>(new List <View> {
                new PetDetailView(), new PetHabitsView(), new PetMedicalTreatMentsView()
            });
        }
        public ProfilePageViewModel(INavigationService navigationService, IPetRepository petRepository, IEnvironmentApiService environmentApi, IKutyAppClientContext kutyAppClientContext) : base(navigationService)
        {
            this.PetRepository        = petRepository;
            this.EnvironmentApi       = environmentApi;
            this.KutyAppClientContext = kutyAppClientContext;

            IsEnglish  = CurrentLanguage.DisplayName == Languages.En.DisplayName || CurrentLanguage.DisplayName == Languages.Default.DisplayName;
            IsLoggedIn = KutyAppClientContext.IsLoggedIn;
        }
 public PetsListItemViewModel(IEnvironmentApiService environmentApiService, IKutyAppClientContext kutyAppClientContext, PetDto dto)
 {
     EnvironmentApiService = environmentApiService;
     KutyAppClientContext  = kutyAppClientContext;
     PetDto = dto;
 }
Beispiel #7
0
 public LoginPopupPageViewModel(INavigationService navigationService, IEnvironmentApiService environmentApi, IKutyAppClientContext kutyAppClientContext)
     : base(navigationService)
 {
     EnvironmentApiService = environmentApi;
     KutyAppClientContext  = kutyAppClientContext;
 }
 public PetSitterPopupPageViewModel(INavigationService navigationService, IKutyAppClientContext kutyAppClientContext, IEnvironmentApiService apiService)
     : base(navigationService)
 {
     KutyAppClientContext = kutyAppClientContext;
     EnvironmentApi       = apiService;
 }
 public PetsPageViewModel(INavigationService navigationService, IPetRepository petRepository, IPageDialogService pageDialogService, IEnvironmentApiService environmentApi, IKutyAppClientContext kutyAppClientContext) : base(navigationService)
 {
     this.PetRepository        = petRepository;
     this.PageDialogService    = pageDialogService;
     this.EnvironmentApi       = environmentApi;
     this.KutyAppClientContext = kutyAppClientContext;
     //Pets = new ObservableCollection<PetsListItemViewModel>();
 }
Beispiel #10
0
 public AdvertsPageViewModel(INavigationService navigationService, IEnvironmentApiService environmentApiService, IKutyAppClientContext kutyAppClientContext) : base(navigationService)
 {
     EnvironmentApi       = environmentApiService;
     KutyAppClientContext = kutyAppClientContext;
 }
Beispiel #11
0
 public AdvertisementPopupPageViewModel(INavigationService navigationService, IKutyAppClientContext kutyAppClientContext, IEnvironmentApiService environmentApiService)
     : base(navigationService)
 {
     KutyAppClientContext  = kutyAppClientContext;
     EnvironmentApiService = environmentApiService;
 }