Beispiel #1
0
        public ExportExcelPageViewModel(IFrameNavigationService navigationService, ILogger logService, IExcelWriterService excelWriterService, IDBService dBService, IOpenFileDialogService openFileDialogService)
        {
            _navigationService     = navigationService;
            _logService            = logService;
            _excelwriterService    = excelWriterService;
            _dbService             = dBService;
            _openFileDialogService = openFileDialogService;

            ConfigNavigationCommands();

            ExportExcelFile    = new RelayCommand(ExportExcelFileCommand);
            SelectSaveLocation = new RelayCommand(SelectSaveLocationCommand);


            OutputMessages = new ObservableCollection <OutputMessage>();
        }
Beispiel #2
0
 public HomeController(
     ITfsSettingsService settingsService,
     ITfsProjectService projectService,
     ITfsQueryService tfsQueryService,
     IExcelWriterService excelWriterService,
     IBroadcastService broadcastService,
     IReportHistoryService reportHistoryService,
     IChartService chartService)
 {
     this.settingsService      = settingsService;
     this.projectService       = projectService;
     this.tfsQueryService      = tfsQueryService;
     this.excelWriterService   = excelWriterService;
     this.broadcastService     = broadcastService;
     this.reportHistoryService = reportHistoryService;
     this.chartService         = chartService;
 }