Exemple #1
0
 public FastInsertService(
     CachedTableManager <Shift> shiftManager,
     ILocationService locationService)
 {
     _shiftManager    = shiftManager;
     _locationService = locationService;
 }
Exemple #2
0
 public DietCalculationService(
     CachedTableManager <DietPaymentItem> dietManager,
     CachedTableManager <Shift> shiftManager)
 {
     _dietManager  = dietManager;
     _shiftManager = shiftManager;
 }
Exemple #3
0
 public DietsPaymentViewModel(CachedTableManager <DietPaymentItem> manager)
 {
     _manager              = manager;
     _payments             = new List <DietPaymentItem>();
     _country              = "SK";
     _reward               = 0;
     _hours                = 0;
     _currency             = "€";
     AddPaymentItemCommand = new Command(AddPaymentItem);
 }
Exemple #4
0
 public ShiftListViewModel(
     CachedTableManager <Shift> shiftManager,
     CachedTableManager <DietPaymentItem> dietManager,
     IDietCalculationService dietCalculationService)
 {
     _shiftManager            = shiftManager;
     _dietManager             = dietManager;
     _dietCalculationService  = dietCalculationService;
     _allShiftItems           = new List <Shift>();
     MonthNavigationViewModel = new MonthNavigationViewModel();
     MonthNavigationViewModel.MonthChanged += Reload;
 }
Exemple #5
0
 public MasterViewModel(
     IAuthenticationService authenticationService,
     ILoadingService loadingService,
     IDialogService dialogService,
     IAccountInformationService accountInformationService,
     MobileServiceClient mobileServiceClient,
     CachedTableManager <Shift> shiftManager,
     CachedTableManager <DietPaymentItem> dietManager)
 {
     _authenticationService    = authenticationService;
     _loadingService           = loadingService;
     _dialogService            = dialogService;
     _accoutInformationService = accountInformationService;
     _shiftManager             = shiftManager;
     _dietManager         = dietManager;
     _mobileServiceClient = mobileServiceClient;
     LogoutCommand        = new Command(Logout);
 }
Exemple #6
0
        public ShiftFormViewModel(
            CachedTableManager <Shift> shiftManager,
            CachedTableManager <DietPaymentItem> dietManager,
            IValidationService validationService,
            IDialogService dialogService,
            ILocationService locationService,
            Shift shift)
        {
            _shiftManager      = shiftManager;
            _dietManager       = dietManager;
            _validationService = validationService;
            _dialogService     = dialogService;
            _locationService   = locationService;
            _shift             = shift;

            InitCountries();
            InitCommands();
            AdjustDates();
        }
Exemple #7
0
 public AttendanceListViewModel(CachedTableManager <Shift> shiftManager)
 {
     _shiftManager            = shiftManager;
     MonthNavigationViewModel = new MonthNavigationViewModel();
     AddHandlers();
 }
Exemple #8
0
 public ValidationService(CachedTableManager <Shift> shiftManager)
 {
     _shiftManager = shiftManager;
 }