示例#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);
 }