refactor(AnnotationData): add SignatureAnnotations-getter method to split signatures
This commit is contained in:
parent
b02cc3d7a4
commit
320b2ecc77
@ -172,6 +172,22 @@ Namespace Jobs.FinalizeDocument
|
||||
|
||||
Friend Class AnnotationData
|
||||
Public Property annotations As List(Of Annotation)
|
||||
|
||||
Public ReadOnly Property SignatureAnnotations As List(Of List(Of Annotation))
|
||||
Get
|
||||
Dim result As New List(Of List(Of Annotation))()
|
||||
|
||||
If annotations IsNot Nothing AndAlso annotations.Count > 0 Then
|
||||
For i As Integer = 0 To annotations.Count - 1 Step 6
|
||||
Dim group As List(Of Annotation) = annotations.Skip(i).Take(6).ToList()
|
||||
result.Add(group)
|
||||
Next
|
||||
End If
|
||||
|
||||
Return result
|
||||
End Get
|
||||
End Property
|
||||
|
||||
Public Property attachments As Dictionary(Of String, Attachment)
|
||||
Public Property formFieldValues As List(Of FormFieldValue)
|
||||
End Class
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user