Exemplo n.º 1
0
 public FileResourcePhoto(FirmaHomePageImage firmaHomePage)
 {
     PrimaryKey              = firmaHomePage.FirmaHomePageImageID;
     FileResourceInfo        = firmaHomePage.FileResourceInfo;
     DeleteUrl               = firmaHomePage.GetDeleteUrl();
     IsKeyPhoto              = false;
     Caption                 = firmaHomePage.Caption;
     CaptionOnFullView       = firmaHomePage.GetCaptionOnFullView();
     CaptionOnGallery        = firmaHomePage.GetCaptionOnGallery();
     PhotoUrl                = firmaHomePage.GetPhotoUrl();
     PhotoUrlScaledThumbnail = firmaHomePage.GetPhotoUrlScaledThumbnail();
     EditUrl                 = firmaHomePage.GetEditUrl();
     AdditionalCssClasses    = new List <string>();
 }
 public static string GetCaptionOnFullView(this FirmaHomePageImage firmaHomePageImage) => $"{firmaHomePageImage.GetCaptionOnGallery()}";