public GetStudy(
     IEnsureAuthenticated ensureAuthenticated,
     IProcessLocalStudyResults processLocalStudyResults,
     IGetCreatedOutputFolder getCreatedOutputFolder,
     IDownloadStudy downloadStudy)
 {
     this.ensureAuthenticated      = ensureAuthenticated;
     this.processLocalStudyResults = processLocalStudyResults;
     this.getCreatedOutputFolder   = getCreatedOutputFolder;
     this.downloadStudy            = downloadStudy;
 }
Beispiel #2
0
 public RunDownloader(
     IEnsureAuthenticated ensureAuthenticated,
     IGetCreatedOutputFolder getCreatedOutputFolder,
     IMonitorDownloads monitorDownloads,
     IProcessDownloads processDownloads,
     ILogger <RunDownloader> logger)
 {
     this.getCreatedOutputFolder = getCreatedOutputFolder;
     this.ensureAuthenticated    = ensureAuthenticated;
     this.monitorDownloads       = monitorDownloads;
     this.processDownloads       = processDownloads;
     this.logger = logger;
 }
        public RunDownloaderTests()
        {
            this.ensureAuthenticated    = Substitute.For <IEnsureAuthenticated>();
            this.getCreatedOutputFolder = Substitute.For <IGetCreatedOutputFolder>();
            this.monitorDownloads       = Substitute.For <IMonitorDownloads>();
            this.processDownloads       = Substitute.For <IProcessDownloads>();
            this.logger = Substitute.For <ILogger <RunDownloader> >();

            this.target = new (
                this.ensureAuthenticated,
                this.getCreatedOutputFolder,
                this.monitorDownloads,
                this.processDownloads,
                this.logger);
        }
 public GetSchemas(
     IEnsureAuthenticated ensureAuthenticated,
     ISimVersionCache simVersionCache,
     ISimVersionClient simVersionClient,
     IWriteFile writeFile,
     IGetCreatedOutputFolder getCreatedOutputFolder,
     ILogger <GetSchemas> logger)
 {
     this.ensureAuthenticated    = ensureAuthenticated;
     this.simVersionCache        = simVersionCache;
     this.simVersionClient       = simVersionClient;
     this.writeFile              = writeFile;
     this.getCreatedOutputFolder = getCreatedOutputFolder;
     this.logger = logger;
 }
 public GetConfigs(
     IEnsureAuthenticated ensureAuthenticated,
     ISimVersionCache simVersionCache,
     IGetUserIdFromUsername getUserIdFromUsername,
     IConfigClient configClient,
     IWriteFile writeFile,
     IGetCreatedOutputFolder getCreatedOutputFolder,
     ILogger <GetConfigs> logger)
 {
     this.ensureAuthenticated    = ensureAuthenticated;
     this.simVersionCache        = simVersionCache;
     this.getUserIdFromUsername  = getUserIdFromUsername;
     this.configClient           = configClient;
     this.writeFile              = writeFile;
     this.getCreatedOutputFolder = getCreatedOutputFolder;
     this.logger = logger;
 }