public IIDUploadInfo GetIDUploadInfo(IUploadInfo uploadInfo) { if (uploadInfo == null) { return(null); } return (_idUploadInfoFactory( uploadInfo.URL, uploadInfo.HttpMethod, uploadInfo.HttpHeaders, _uploadIdentifierSerializer.Serialize(uploadInfo.UploadIdentifier) )); }
public DocumentUploadInfo(IUploadInfo uploadInfo, IDocumentIdentifier documentIdentifier) { UploadInfo = uploadInfo; DocumentIdentifier = documentIdentifier; }