Ejemplo n.º 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);
        }
Ejemplo n.º 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;
 }