예제 #1
0
파일: ImageLink.cs 프로젝트: avgx/knigoskop
 public ImageLink(string contentType, ImageLinkTypeEnum type = ImageLinkTypeEnum.Image)
 {
     _type = contentType;
     Rel = "http://opds-spec.org/image";
     if (type == ImageLinkTypeEnum.Thumbnail)
         Rel += "/thumbnail";
 }
예제 #2
0
 public ImageLink(string contentType, ImageLinkTypeEnum type = ImageLinkTypeEnum.Image)
 {
     _type = contentType;
     Rel   = "http://opds-spec.org/image";
     if (type == ImageLinkTypeEnum.Thumbnail)
     {
         Rel += "/thumbnail";
     }
 }