Exemplo n.º 1
0
 /// <summary>
 /// Creates an instance of <see cref="CleaningListDataService"/>
 /// </summary>
 /// <param name="carFitClientDtoDataService"></param>
 /// <param name="carFitClientListCleaningListMappingService"></param>
 public CleaningListDataService(
     IDataFetchService <CarFitClientDto> carFitClientDtoDataService,
     IEntityListMappingService <CarFitClientDto, CleaningListJobItem> carFitClientListCleaningListMappingService)
 {
     _carFitClientDtoDataService = carFitClientDtoDataService;
     _carFitClientListCleaningListMappingService = carFitClientListCleaningListMappingService;
 }
 public ApplicationController(ShellViewModel shellViewModel,
                              MainMonitoringController mainMonitoringController,
                              NetworkAccessThreadController networkAccessThreadController,
                              StatusBarController statusBarController,
                              AttitudeMonitoringController attitudeMonitoringController,
                              AltitudeMonitoringController altitudeMonitoringController,
                              NavigationMonitoringController navigationMonitoringController,
                              IDataFetchService dataFetchService,
                              IDataUpdateService dataUpdateService,
                              IGuiUpdateService guiUpdateService,
                              IGeneralService generalService,
                              ISettingsService settingsService,
                              IShellService shellService)
 {
     this.shellViewModel                 = shellViewModel;
     this.mainMonitoringController       = mainMonitoringController;
     this.networkAccessThreadController  = networkAccessThreadController;
     this.attitudeMonitoringController   = attitudeMonitoringController;
     this.altitudeMonitoringController   = altitudeMonitoringController;
     this.navigationMonitoringController = navigationMonitoringController;
     this.statusBarController            = statusBarController;
     this.dataFetchService               = dataFetchService;
     this.dataUpdateService              = dataUpdateService;
     this.generalService                 = generalService;
     this.settingsService                = settingsService;
     this.shellService                 = shellService;
     this.guiUpdateService             = guiUpdateService;
     dataUpdateService.ResetDataEvent += Reset;
     ChangeTabCommand = new DelegateCommand(ChangeTab_Command);
 }
Exemplo n.º 3
0
 public GuiUpdateService(ISettingsService settingsService,
                         IGeneralService generalService,
                         IDataFetchService dataFetchService,
                         IDataUpdateService dataUpdateService)
 {
     this.settingsService   = settingsService;
     this.generalService    = generalService;
     this.dataFetchService  = dataFetchService;
     this.dataUpdateService = dataUpdateService;
 }
Exemplo n.º 4
0
        /// <summary>
        /// Constructs <see cref="CleaningListViewModel"/>
        /// </summary>
        /// <param name="dialogService">Instance of <see cref="IDialogService"/></param>
        /// <param name="navigationService">Instance of <see cref="INavigationService"/></param>
        /// <param name="eventAggregator">Instance of <see cref="IEventAggregator"/></param>
        /// <param name="cleaningListDataService">Instance of <see cref="IDataFetchService"/> of type <see cref="CleaningListJobItem"/></param>
        public CleaningListViewModel(
            IDialogService dialogService,
            INavigationService navigationService,
            IEventAggregator eventAggregator,
            IDataFetchService <CleaningListJobItem> cleaningListDataService)
        {
            _dialogService     = dialogService;
            _navigationService = navigationService;
            _eventAggregator   = eventAggregator;

            _cleaningListDataService = cleaningListDataService;

            RefreshCommand      = new DelegateCommand(RefreshCommandHandler);
            ShowCalendarCommand = new DelegateCommand(ShowCalendarCommandHandler);
            HideCalendarCommand = new DelegateCommand(HideCalendarCommandHandler);

            ShouldTitleSectionVisible = true;

            SubscribeToDateSelectedEvent();
            PopulateCleaningTaskList();
        }
Exemplo n.º 5
0
 public CalendarServiceDependencyInjection(IDataFetchService dataFetchService)
 {
     _dataFetchService = dataFetchService;
 }
        public NetworkAccessThreadController(IGeneralService generalService, ISettingsService settingsService, IDataFetchService dataFetchService)
        {
            this.generalService   = generalService;
            this.settingsService  = settingsService;
            this.dataFetchService = dataFetchService;
            dataFetchService.UnprocessedDataSets = new List <DataSet>();
            generalService.PropertyChanged      += GeneralService_PropertyChanged;
            connecting = false;
#if OFFLINE
            time = 0;
            val  = 0;
#endif
        }
Exemplo n.º 7
0
 public SearchController(IDataFetchService dataFetchService,
                         ISearchService searchService)
 {
     _dataFetchService = dataFetchService;
     _searchService    = searchService;
 }
Exemplo n.º 8
0
 public RadicalsController(IDataFetchService dataFetchService)
 {
     _dataFetchService = dataFetchService;
 }