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