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)); }
public IEnumerator <AttachmentEnumeratorResult> Get(IEnumerable <AttachmentRequest> attachments) { var operation = new GetAttachmentsOperation(attachments, AttachmentType.Document); return(Session.Operations.Send(operation, SessionInfo)); }