Exemplo n.º 1
0
        public async Task <string> SaveImage(FanartTVImageInfo image, string path, string fileName, CancellationToken cancellationToken)
        {
            var url = image.url;

            return(await _FanartTvWebClient.SaveFile(url, path, fileName, cancellationToken));
        }
Exemplo n.º 2
0
 public async Task DownloadImage(FanartTVImageInfo image, Stream copyStream, CancellationToken cancellationToken)
 {
     var path = image.url;
     await _FanartTvWebClient.Download(path, copyStream, cancellationToken);
 }
Exemplo n.º 3
0
 public Task <string> SaveImage(FanartTVImageInfo image, string path, string fileName)
 {
     return(SaveImage(image, path, fileName, CancellationToken.None));
 }
Exemplo n.º 4
0
 public Task DownloadImage(FanartTVImageInfo image, Stream copyStream)
 {
     return(DownloadImage(image, copyStream, CancellationToken.None));
 }