Example #1
0
        public Task <IEnumerator <AttachmentEnumeratorResult> > GetAsync(IEnumerable <AttachmentRequest> attachments, CancellationToken token = default)
        {
            var operation = new GetAttachmentsOperation(attachments, AttachmentType.Document);

            return(Session.Operations.SendAsync(operation, SessionInfo, token));
        }
Example #2
0
        public IEnumerator <AttachmentEnumeratorResult> Get(IEnumerable <AttachmentRequest> attachments)
        {
            var operation = new GetAttachmentsOperation(attachments, AttachmentType.Document);

            return(Session.Operations.Send(operation, SessionInfo));
        }