Beispiel #1
0
 public FipeDownloadServiceTest()
 {
     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);
 }
Beispiel #2
0
 private static void InitDownloadService()
 {
     _httpRequestSettings       = new HttpRequestSettings();
     _httpRequest               = new HttpRequest(_logger, _httpRequestSettings);
     _downloadService           = new FipeDownloadService(_logger, _httpRequest);
     _normalizedDownloadService = new FipeNormalizedDownloadService(_logger, _downloadService);
 }
Beispiel #3
0
 public HttpRequest(ILogger logger, IHttpRequestSettings settings)
 {
     this._logger   = logger;
     this._settings = settings;
 }