コード例 #1
0
 public PostFetcherService(
     IBooruHttpClient httpClient,
     PostFetcherServiceHelper helper,
     FetchConfiguration configuration)
 {
     _httpClient = httpClient;
     _helper     = helper;
     _initLimit  = configuration.PostLimit;
 }
コード例 #2
0
 public ImageFetcherService(
     IBooruHttpClient httpClient,
     IImageCachingService imageCachingService,
     IBitmapImageCreatorService bitmapImageCreatorService,
     IBooruConfiguration configuration)
 {
     _httpClient                = httpClient;
     _imageCachingService       = imageCachingService;
     _bitmapImageCreatorService = bitmapImageCreatorService;
     _configuration             = configuration;
 }