public TestsService(ILoadingProgressController loadingProgressController, IConfigSerializer configSerializer, ILoggingService loggingService, IFarmIntegrator farmIntegrator)
 {
     this.loadingProgressController = loadingProgressController;
     this.configSerializer          = configSerializer;
     this.loggingService            = loggingService;
     this.farmIntegrator            = farmIntegrator;
 }
예제 #2
0
 public MainViewModel(INotificationService notificationService,
                      IRegionManager regionManager,
                      ILoggingService loggingService,
                      IFarmIntegrator farmIntegrator,
                      IConfigSerializer configSerializer,
                      ILoadingProgressController loadingProgressController,
                      ITestsService testsService,
                      IGitWorker gitWorker)
 {
     Dispatcher = Dispatcher.CurrentDispatcher;
     this.notificationService  = notificationService;
     this.regionManager        = regionManager;
     this.loggingService       = loggingService;
     this.farmIntegrator       = farmIntegrator;
     this.configSerializer     = configSerializer;
     LoadingProgressController = loadingProgressController;
     TestService = testsService;
     _GitWorker  = gitWorker;
     TestService.PropertyChanged    += TestService_PropertyChanged;
     loggingService.MessageReserved += OnLoggingMessageReserved;
     UpdateConfig();
 }