コード例 #1
0
 public RepositoryBodyWriter(IUploadRepository repository, string clientFileName)
 {
     if (repository == null)
     {
         throw new ArgumentNullException("repository");
     }
     _repository         = repository;
     this.ClientFileName = clientFileName;
     this.TempKey        = _repository.Begin(IOUtil.GetExtension(clientFileName));
 }