private static void InitDownloadService() { _httpRequestSettings = new HttpRequestSettings(); _httpRequest = new HttpRequest(_logger, _httpRequestSettings); _downloadService = new FipeDownloadService(_logger, _httpRequest); _normalizedDownloadService = new FipeNormalizedDownloadService(_logger, _downloadService); }
public FipeNormalizedDownloadServiceTest() { this._logger = new LoggerFactory().CreateLogger(nameof(FipeDownloadServiceTest)); this._httpRequestSettings = new HttpRequestSettings(); this._httpRequest = new HttpRequest(this._logger, this._httpRequestSettings); this._downloadService = new FipeDownloadService(this._logger, this._httpRequest); this._normalizedDownloadService = new FipeNormalizedDownloadService(this._logger, this._downloadService); }
public FipeUploadService( ILogger logger, IFipeDownloadService downloadService, IFipeNormalizedDownloadService normalizedDownloadService, IFipeUploadDomain uploadDomain) { this._logger = logger; this._downloadService = downloadService; this._normalizedDownloadService = normalizedDownloadService; this._uploadDomain = uploadDomain; }