public void LoadFile(IUploadedFilesHandler handl, string serviceUrl = null)
        {
            var path = handl.GetUrlByPath(Image);

            ImageFile = new TmpFileData(path);
        }
 public AttachmentRepository(AsgaPublicContext con, IUploadedFilesHandler _uploaded) : base(con, _uploaded)
 {
 }
Beispiel #3
0
 public void LoadFile(IUploadedFilesHandler handl, string serviceUrl = null)
 {
     File = new TmpFileData(FileUtils.GetUploadedFileUrl(FilePath));
 }
 public DefaultAttachmentRepository(TContext con, IUploadedFilesHandler _uploaded) : base(con)
 {
     uploaded = _uploaded;
 }
 public HomeSlideService(IPublicUnit unit, IUploadedFilesHandler _uploaded) : base(unit)
 {
     this.unit = unit;
     uploaded  = _uploaded;
 }