コード例 #1
0
        public void LoadFile(IUploadedFilesHandler handl, string serviceUrl = null)
        {
            var path = handl.GetUrlByPath(Image);

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