public RegisterPopupPageViewModel(INavigationService navigationService, IEnvironmentApiService environmentApi, IKutyAppClientContext kutyAppClientContext)
     : base(navigationService)
 {
     Title = "register vm title";
     EnvironmentApiService = environmentApi;
     KutyAppClientContext  = kutyAppClientContext;
 }
예제 #2
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>();
 }
        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;
        }
예제 #4
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 PetHabitPopupPageViewModel(INavigationService navigationService, IKutyAppClientContext kutyAppClientContext)
     : base(navigationService)
 {
     KutyAppClientContext = kutyAppClientContext;
 }
예제 #7
0
 public LoadingPageViewModel(INavigationService navigationService, IKutyAppClientContext kutyAppClientContext)
     : base(navigationService)
 {
     KutyAppClientContext = kutyAppClientContext;
 }
 public PetsListItemViewModel(IEnvironmentApiService environmentApiService, IKutyAppClientContext kutyAppClientContext, PetDto dto)
 {
     EnvironmentApiService = environmentApiService;
     KutyAppClientContext  = kutyAppClientContext;
     PetDto = dto;
 }
예제 #9
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;
 }
예제 #11
0
 public AdvertsPageViewModel(INavigationService navigationService, IEnvironmentApiService environmentApiService, IKutyAppClientContext kutyAppClientContext) : base(navigationService)
 {
     EnvironmentApi       = environmentApiService;
     KutyAppClientContext = kutyAppClientContext;
 }
예제 #12
0
 public AdvertisementPopupPageViewModel(INavigationService navigationService, IKutyAppClientContext kutyAppClientContext, IEnvironmentApiService environmentApiService)
     : base(navigationService)
 {
     KutyAppClientContext  = kutyAppClientContext;
     EnvironmentApiService = environmentApiService;
 }