Пример #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));
 }
Пример #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);
 }
Пример #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));
 }
Пример #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));
 }
Пример #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);
 }
Пример #7
0
 public Uri CreateBackdropLink(IPoster poster, BackdropSize backdropSize  = BackdropSize.w720) => CreateBackdropLink(poster.PosterPath, backdropSize);
Пример #8
0
 public Uri CreateBackdropLink(string partPath, BackdropSize backdropSize = BackdropSize.w1280) => CreateImageLink(partPath, backdropSize.ToString());
Пример #9
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 Utilities.Extensions.MakeImageUri(size.ToString(), BackdropPath);
 }