Exemple #1
0
        public IIDUploadInfo GetIDUploadInfo(IUploadInfo uploadInfo)
        {
            if (uploadInfo == null)
            {
                return(null);
            }

            return
                (_idUploadInfoFactory(
                     uploadInfo.URL,
                     uploadInfo.HttpMethod,
                     uploadInfo.HttpHeaders,
                     _uploadIdentifierSerializer.Serialize(uploadInfo.UploadIdentifier)
                     ));
        }
Exemple #2
0
 public DocumentUploadInfo(IUploadInfo uploadInfo, IDocumentIdentifier documentIdentifier)
 {
     UploadInfo         = uploadInfo;
     DocumentIdentifier = documentIdentifier;
 }