Exemple #1
0
 /// <summary>
 /// Uri to the backdrop image.
 /// </summary>
 /// <param name="size">The size for the image as required</param>
 /// <returns>The uri to the sized image</returns>
 public Uri Uri(BackdropSize size = BackdropSize.w300)
 {
     return(Extensions.MakeImageUri(size.ToString(), BackdropPath));
 }
Exemple #2
0
 /// <summary>
 /// Uri to the backdrop image.
 /// </summary>
 /// <param name="size">The size for the image as required</param>
 /// <returns>The uri to the sized image</returns>
 public Uri Uri(BackdropSize size)
 {
     return Extensions.MakeImageUri(size.ToString(), BackdropPath);
 }
Exemple #3
0
 /// <summary>
 /// Uri to the backdrop image.
 /// </summary>
 /// <param name="size">The size for the image as required</param>
 /// <returns>The uri to the sized image</returns>
 public Uri Uri(BackdropSize size)
 {
     return(Utilities.Extensions.MakeImageUri(size.ToString(), BackdropPath));
 }
Exemple #4
0
 /// <summary>
 /// Gives the Uri for the backdrop image
 /// </summary>
 /// <param name="size">The requested size of the image</param>
 /// <returns>Uri to the sized image</returns>
 public Uri Uri(BackdropSize size)
 {
     return(Extensions.MakeImageUri(size.ToString(), FilePath));
 }
 private Uri Uri(BackdropSize size)
 {
     return(MakeImageUri(size.ToString(), BackdropPath));
 }
Exemple #6
0
 /// <summary>
 /// Gives the Uri for the backdrop image
 /// </summary>
 /// <param name="size">The requested size of the image</param>
 /// <returns>Uri to the sized image</returns>
 public Uri Uri(BackdropSize size)
 {
     return Utilities.Extensions.MakeImageUri(size.ToString(), FilePath);
 }
Exemple #7
0
 public Uri CreateBackdropLink(IPoster poster, BackdropSize backdropSize  = BackdropSize.w720) => CreateBackdropLink(poster.PosterPath, backdropSize);
Exemple #8
0
 public Uri CreateBackdropLink(string partPath, BackdropSize backdropSize = BackdropSize.w1280) => CreateImageLink(partPath, backdropSize.ToString());
 /// <summary>
 /// Uri to the backdrop image.
 /// </summary>
 /// <param name="size">The size for the image as required</param>
 /// <returns>The uri to the sized image</returns>
 public Uri Uri(BackdropSize size = BackdropSize.w300)
 {
     return Utilities.Extensions.MakeImageUri(size.ToString(), BackdropPath);
 }