public FileUpload(FileData file) { if (file == null) throw new ArgumentNullException("FileData"); _uploadID = Guid.NewGuid().ToString(); _filename = file.FileName; _data = file.Data; _totalSize = file.Size; }
public FileDataArgument(FileData fileData) { this.FileData = fileData; }
public UploadFileDataInfo(FileData fileData) { this.FileData = fileData; }