Пример #1
0
 public ModuleController(
     Lazy <ShellService> shellService,
     IEnvironmentService environmentService,
     IConfirmTumblrPrivacyConsent confirmTumblrPrivacyConsent,
     ISettingsProvider settingsProvider,
     ISharedCookieService cookieService,
     Lazy <ManagerController> managerController,
     Lazy <QueueController> queueController,
     Lazy <DetailsController> detailsController,
     Lazy <CrawlerController> crawlerController,
     Lazy <ShellViewModel> shellViewModel,
     IApplicationUpdateService applicationUpdateService)
 {
     _shellService                = shellService;
     _environmentService          = environmentService;
     _confirmTumblrPrivacyConsent = confirmTumblrPrivacyConsent;
     _settingsProvider            = settingsProvider;
     _cookieService               = cookieService;
     _detailsController           = detailsController;
     _managerController           = managerController;
     _queueController             = queueController;
     _crawlerController           = crawlerController;
     _shellViewModel              = shellViewModel;
     _queueManager                = new QueueManager();
     _applicationUpdateService    = applicationUpdateService;
 }
Пример #2
0
 public ModuleController(Lazy <ShellService> shellService, IEnvironmentService environmentService,
                         IConfirmTumblrPrivacyConsent confirmTumblrPrivacyConsent, ISettingsProvider settingsProvider,
                         Lazy <ManagerController> managerController, Lazy <QueueController> queueController,
                         Lazy <DetailsController> detailsController, Lazy <CrawlerController> crawlerController,
                         Lazy <ShellViewModel> shellViewModel)
 {
     this.shellService                = shellService;
     this.environmentService          = environmentService;
     this.confirmTumblrPrivacyConsent = confirmTumblrPrivacyConsent;
     this.settingsProvider            = settingsProvider;
     this.detailsController           = detailsController;
     this.managerController           = managerController;
     this.queueController             = queueController;
     this.crawlerController           = crawlerController;
     this.shellViewModel              = shellViewModel;
     queueManager = new QueueManager();
 }