public string GetImageSize(ImageSize size)
 {
     return($"{Constants.UrlImage}{size.GetDescription()}{this.BackdropPath}");
 }
Ejemplo n.º 2
0
 public string SpecifyImagePath(string path, ImageSize size, ImageProportion proportion) =>
 Path.Combine(Path.GetDirectoryName(path) ?? string.Empty,
              $"{size.GetDescription()}{size.GetFileNameSeparator()}" +
              $"{proportion.GetDescription()}{proportion.GetFileNameSeparator()}" +
              $"{Path.GetFileName(path)}");