Beispiel #1
0
        public IMultiPartIDUploadInfo GetMultiPartIDUploadInfo(IMultiPartUploadInfo multiPartUploadInfo)
        {
            if (multiPartUploadInfo == null)
            {
                return(null);
            }

            return
                (_MultiPartIDUploadInfoFactory(
                     multiPartUploadInfo.HttpMethod,
                     multiPartUploadInfo.PartSize,
                     multiPartUploadInfo.PartUploadInfos,
                     multiPartUploadInfo.MultiPartUploadResultHeaderName,
                     _uploadIdentifierSerializer.Serialize(multiPartUploadInfo.UploadIdentifier)
                     ));
        }
Beispiel #2
0
 public DocumentMultiPartUploadInfo(IMultiPartUploadInfo multiPartUploadInfo, IDocumentIdentifier documentIdentifier)
 {
     MultiPartUploadInfo = multiPartUploadInfo;
     DocumentIdentifier  = documentIdentifier;
 }