示例#1
0
        public FileUpload(FileData file)
        {
            if (file == null)
                throw new ArgumentNullException("FileData");

            _uploadID = Guid.NewGuid().ToString();

            _filename = file.FileName;
            _data = file.Data;
            _totalSize = file.Size;
        }
示例#2
0
 public FileDataArgument(FileData fileData)
 {
     this.FileData = fileData;
 }
示例#3
0
 public UploadFileDataInfo(FileData fileData)
 {
     this.FileData = fileData;
 }