示例#1
0
        public static FileReference FromNewFile(FileStorageArea StorageArea, string Name, long Size, string FileHandle,
                                                string ContentType)
        {
            FileReference fileRef = new FileReference(StorageArea, Name, Size, FileHandle, ContentType);

            return(fileRef);
        }
示例#2
0
 public FileReference(FileStorageArea StorageArea, string Name, long Size, string FileHandle, string ContentType)
 {
     this.StorageArea  = StorageArea;
     this.Name         = Name;
     this.Size         = Size;
     this.FileHandle   = FileHandle;
     this.ContentType  = ContentType;
     this.HasThumbnail = HasThumbnail;
 }