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 IMultiPartIDUploadInfo GetMultiPartIDUploadInfo(IMultiPartUploadInfo multiPartUploadInfo)
        {
            if (multiPartUploadInfo == null)
            {
                return(null);
            }

            return
                (_MultiPartIDUploadInfoFactory(
                     multiPartUploadInfo.HttpMethod,
                     multiPartUploadInfo.PartSize,
                     multiPartUploadInfo.PartUploadInfos,
                     multiPartUploadInfo.MultiPartUploadResultHeaderName,
                     _uploadIdentifierSerializer.Serialize(multiPartUploadInfo.UploadIdentifier)
                     ));
        }