public RegisterPopupPageViewModel(INavigationService navigationService, IEnvironmentApiService environmentApi, IKutyAppClientContext kutyAppClientContext)
     : base(navigationService)
 {
     Title = "register vm title";
     EnvironmentApiService = environmentApi;
     KutyAppClientContext  = kutyAppClientContext;
 }
Exemplo n.º 2
0
 public PoisPageViewModel(INavigationService navigationService, IEnvironmentApiService environmentApiService, IPageDialogService dialogService) : base(navigationService)
 {
     IsBusy            = true;
     EnvironmentApi    = environmentApiService;
     PageDialogService = dialogService;
     Pois = new ObservableCollection <PoiDto>();
 }
Exemplo n.º 3
0
 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;
 }
Exemplo n.º 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;
 }
Exemplo n.º 9
0
 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>();
 }
Exemplo n.º 10
0
 public AdvertsPageViewModel(INavigationService navigationService, IEnvironmentApiService environmentApiService, IKutyAppClientContext kutyAppClientContext) : base(navigationService)
 {
     EnvironmentApi       = environmentApiService;
     KutyAppClientContext = kutyAppClientContext;
 }
Exemplo n.º 11
0
 public AdvertisementPopupPageViewModel(INavigationService navigationService, IKutyAppClientContext kutyAppClientContext, IEnvironmentApiService environmentApiService)
     : base(navigationService)
 {
     KutyAppClientContext  = kutyAppClientContext;
     EnvironmentApiService = environmentApiService;
 }