Пример #1
0
 /// <summary>
 /// Generates an URL to <see cref="IEntryPictureFile" /> that are used as additional images for albums and artists.
 /// </summary>
 /// <param name="urlHelper">URL helper.</param>
 /// <param name="imageInfo">Image information. Can be null.</param>
 /// <param name="size">Desired image size.</param>
 /// <returns>Absolute URL to the image, or null if not found.</returns>
 public static string EntryPictureFile(this UrlHelper urlHelper, IEntryPictureFile imageInfo, ImageSize size)
 {
     return(EntryImageOld(urlHelper, imageInfo, size));
 }
 public EntryPictureFileLinkViewModel(IEntryPictureFile entryPictureFile)
 {
     EntryPictureFile = entryPictureFile;
 }