public CarrierSideRouteEditViewModel(IRoutesService routesService, ICarrierOrdersService ordersService, IMvxNavigationService navigationService, IUserDialogs dialogsService) { this.routesService = routesService; this.navigationService = navigationService; this.ordersService = ordersService; this.dialogsService = dialogsService; this.ordersService.AcceptedOrdersUpdated += UpdatePoints; }
public CarrierSideActiveRouteViewModel(IRoutesService routesService, ICarrierOrdersService ordersService, IMvxNavigationService navigationService, IUserDialogs dialogsService) { this.routesService = routesService; this.navigationService = navigationService; this.ordersService = ordersService; this.dialogsService = dialogsService; this.routesService.ActiveRouteUpdated += UpdateActiveRoute; }
public ProfileViewModel(IMvxNavigationService navigationService, ISessionProvider sessionProvider, IDeviceProvider deviceProvider, ICarrierOrdersService carrierOrdersService, ISalepointOrdersService salepointOrdersService, IRoutesService routesService, INotificationsProvider notificationsProvider) { this.sessionProvider = sessionProvider; this.navigationService = navigationService; this.deviceProvider = deviceProvider; this.carrierOrdersService = carrierOrdersService; this.salepointOrdersService = salepointOrdersService; this.routesService = routesService; this.notificationsProvider = notificationsProvider; }
public RoutePointActiveListViewModel(IRoutesService routesService, ICarrierOrdersService ordersService, IMvxNavigationService navigationService, IUserDialogs dialogsService, IMvxPhoneCallTask phoneCallService) { this.routesService = routesService; this.navigationService = navigationService; this.ordersService = ordersService; this.phoneCallService = phoneCallService; this.dialogsService = dialogsService; this.passPointDialogConfig = new ConfirmConfig(); this.passPointDialogConfig.OkText = "Tak"; this.passPointDialogConfig.CancelText = "Nie"; this.passPointDialogConfig.Title = "Zakończ punkt"; this.passPointDialogConfig.Message = "Czy na pewno chcesz zakończyć ten punkt?"; this.passPointDialogConfig.OnAction += x => PassPoint(x); }
public RoutePointOrderPickupModel(IMvxNavigationService navigationService, IRoutesService routesService, ICarrierOrdersService ordersService, IUserDialogs dialogsService) { this.navigationService = navigationService; this.routesService = routesService; this.ordersService = ordersService; this.dialogsService = dialogsService; }
public FloatingPendingOrderViewModel(ICarrierOrdersService ordersService, IUserDialogs dialogsService) { this.dialogsService = dialogsService; this.ordersService = ordersService; }
public CarrierFloatingOrdersViewModel(IMvxNavigationService navigationService, ICarrierOrdersService ordersService, IUserDialogs dialogsService) { this.navigationService = navigationService; this.ordersService = ordersService; this.dialogsService = dialogsService; this.CreateOrderViewModelsList(); this.ordersService.PendingOrdersUpdated += UpdateOrders; }
public CarrierMapViewModel(IDeviceProvider deviceProvider, IMvxNavigationService navigationService, ICarrierOrdersService ordersService, IRoutesService routesService, INotificationsProvider notificationsProvider) { this.deviceProvider = deviceProvider; this.navigationService = navigationService; this.ordersService = ordersService; this.routesService = routesService; this.notificationsProvider = notificationsProvider; this.notificationsProvider.SocketStatusUpdated += (sender, value) => RaisePropertyChanged(() => this.SignalrConnectionStatus); this.ordersService.PendingOrdersUpdated += this.PendingOrdersEventHandler; this.routesService.ActiveRouteUpdated += this.ActiveRouteEventHandler; this.sideView = Mvx.IocConstruct <CarrierSideViewViewModel>(); this.floatingOrdersViewModel = Mvx.IocConstruct <CarrierFloatingOrdersViewModel>(); }
public CarrierFloatingOrderDetailsViewModel(IMvxNavigationService navigationService, ICarrierOrdersService ordersService, IUserDialogs dialogsService) { this.ordersService = ordersService; this.navigationService = navigationService; this.dialogsService = dialogsService; }