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); }
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; }