Ejemplo n.º 1
0
 private async Task <Image> ConvertThemoviedbImage(ThemoviedbImage themoviedbImage, double widthRatio, double heightRatio)
 {
     return(new Image
     {
         Url = await GetImageBasePath() + "original" + themoviedbImage.FilePath,
         Description = string.Format("{0}x{1}", themoviedbImage.Width, themoviedbImage.Height),
         Rating = themoviedbImage.VoteAverage,
         WidthRatio = widthRatio,
         HeightRatio = heightRatio
     });
 }
 private async Task<Image> ConvertThemoviedbImage(ThemoviedbImage themoviedbImage, double widthRatio, double heightRatio)
 {
     return new Image
     {
         Url = await GetImageBasePath() + "original" + themoviedbImage.FilePath,
         Description = string.Format("{0}x{1}", themoviedbImage.Width, themoviedbImage.Height),
         Rating = themoviedbImage.VoteAverage,
         WidthRatio = widthRatio,
         HeightRatio = heightRatio
     };
 }