GetBannerByBannerPathAsync() публичный Метод

public GetBannerByBannerPathAsync ( string banner ) : Task
banner string
Результат Task
Пример #1
0
 public async Task <byte[]> GetBannerAsync(TheTVDBClient client)
 {
     if (this.Image.IsNullOrWhiteSpace())
     {
         return(null);
     }
     return(await client.GetBannerByBannerPathAsync(this.Image));
 }
Пример #2
0
 public async Task<byte[]> GetBannerAsync(TheTVDBClient client)
     => await client.GetBannerByBannerPathAsync(this.BannerPath);
Пример #3
0
 public async Task<byte[]> GetBannerAsync(TheTVDBClient client)
 {
     if (this.Image.IsNullOrWhiteSpace()) return null;
     return await client.GetBannerByBannerPathAsync(this.Image);
 }
Пример #4
0
 public async Task <byte[]> GetBannerAsync(TheTVDBClient client)
 => await client.GetBannerByBannerPathAsync(this.Banner);