Exemplo n.º 1
0
 public GeoliteFileServiceTest(WebAppTestFactory factory)
 {
     geoliteClient   = factory.Services.GetService <IGeoliteHttpClient>();
     fileService     = factory.Services.GetService <IGeoliteFileService>();
     hostEnvironment = factory.Services.GetService <IWebHostEnvironment>();
     this.factory    = factory;
 }
 public GeoliteManager(IGeoliteHttpClient geoliteHttpClient, IGeoliteFileService geoliteFileService)
 => (httpClient, fileService) = (geoliteHttpClient, geoliteFileService);