public WaitForStudy( IStudyClient studyClient, ILogger <WaitForStudy> logger) { this.logger = logger; this.studyClient = studyClient; }
public GetStudyTypes( IEnsureAuthenticated ensureAuthenticated, IStudyClient studyClient, ILogger <GetStudyTypes> logger) { this.studyClient = studyClient; this.ensureAuthenticated = ensureAuthenticated; this.logger = logger; }
public DownloadStudy( IStudyClient studyClient, IDownloadBlobDirectory downloadBlobDirectory, IRetryPolicies retryPolicies, IGetAllRequiredDirectoryMetadata getAllRequiredDirectoryMetadata, IGetStudyBlobDirectory getStudyBlobDirectory, ILogger <DownloadStudy> logger) { this.studyClient = studyClient; this.downloadBlobDirectory = downloadBlobDirectory; this.retryPolicies = retryPolicies; this.getAllRequiredDirectoryMetadata = getAllRequiredDirectoryMetadata; this.getStudyBlobDirectory = getStudyBlobDirectory; this.logger = logger; }
public GetStudy( IEnsureAuthenticated ensureAuthenticated, ISimVersionCache simVersionCache, IGetDefaultConfig getDefaultConfig, IGetDefaultConfigPath getDefaultConfigPath, ISimVersionClient simVersionClient, IStudyClient studyClient, IWaitForStudy waitForStudy, IGetStudy getStudy, IDownloadBlobDirectoryMock downloadBlobDirectoryMock, ILogger <GetStudy> logger) { this.ensureAuthenticated = ensureAuthenticated; this.simVersionCache = simVersionCache; this.getDefaultConfig = getDefaultConfig; this.getDefaultConfigPath = getDefaultConfigPath; this.simVersionClient = simVersionClient; this.studyClient = studyClient; this.waitForStudy = waitForStudy; this.getStudy = getStudy; this.downloadBlobDirectoryMock = downloadBlobDirectoryMock; this.logger = logger; }
public StudyTypesCacheTests() { this.studyClient = Substitute.For <IStudyClient>(); this.target = new StudyTypesCache(this.studyClient); }