예제 #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
파일: Movie.cs 프로젝트: Fishes/TMDbWrapper
 /// <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);
 }