Esempio n. 1
0
        public OrderDetailsViewModel(INavigationService navigationService, IAppService appService, IWooCommerceService wooCommerceService) : base(navigationService)
        {
            _appService         = appService;
            _wooCommerceService = wooCommerceService;

            PhoneCenter = GlobalSettings.HelpCenterContact;
        }
        public OrderHistoryViewModel(INavigationService navigationService,
                                     IWooCommerceService wooCommerceService) : base(navigationService)
        {
            _wooCommerceService = wooCommerceService;

            AsyncRunner.Run(InitDataAsync());
        }
Esempio n. 3
0
 public CartViewModel(INavigationService navigationService, IAppService appService, IDialogService dialogService,
                      IWooCommerceService wooCommerceService) : base(navigationService)
 {
     _appService         = appService;
     _dialogService      = dialogService;
     _wooCommerceService = wooCommerceService;
 }
Esempio n. 4
0
        public CouponsViewModel(INavigationService navigationService, IAppService appService, IWooCommerceService wooCommerceService) : base(navigationService)
        {
            _appService = appService;

            _wooCommerceService = wooCommerceService;

            AsyncRunner.Run(InitDataAsync());
        }
Esempio n. 5
0
        public PopupUpdateShippingInfoViewModel(INavigationService navigationService,
                                                IWooCommerceService wooCommerceService) : base(navigationService)
        {
            _wooCommerceService = wooCommerceService;

            InitEntryPlaceHolder();
            InitErrMessages();

            AsyncRunner.Run(InitData());
        }
Esempio n. 6
0
        public OrdersViewModel(INavigationService navigationService, IAppService appService,
                               IWooCommerceService wooCommerceService) : base(navigationService)
        {
            _appService         = appService;
            _wooCommerceService = wooCommerceService;

            WatchCreateOrderCompleted();
            WatchCancelOrder();

            AsyncRunner.Run(Processing());
        }
Esempio n. 7
0
        public HomeViewModel(INavigationService navigationService, IAppService appService, IWooCommerceService wooCommerceService) : base(navigationService)
        {
            _appService         = appService;
            _wooCommerceService = wooCommerceService;

            NotificationCounts  = GlobalSettings.NotificationCounts;
            NotificationCommand = new Command(NotificationClicked);

            UserInfo      = GlobalSettings.User;
            FacebookId    = GlobalSettings.FacebookPageId;
            MemberRelated = !GlobalSettings.IsGuest;

            AsyncRunner.Run(Processing());
        }
Esempio n. 8
0
 public ProductDetailViewModel(INavigationService navigationService, IAppService appService, IWooCommerceService wooCommerceService) : base(navigationService)
 {
     _appService         = appService;
     _wooCommerceService = wooCommerceService;
 }