public ItemImageService(Options options)
 {
     _options    = options;
     _wikiLoader = new PoolingImageLoader(_httpClient);
     _scheduler  = new EventLoopScheduler(a => new Thread(a)
     {
         Name = "ItemImageService", IsBackground = true
     });
     Directory.CreateDirectory(AssetPath);
 }
Beispiel #2
0
 public ItemImageService(Options options)
 {
     _options    = options;
     _wikiLoader = new PoolingImageLoader(_httpClient);
     Directory.CreateDirectory(AssetPath);
 }