Constructor AttachmentGalleryBlock
- Namespace
- MailFathom.Application.Discovery.Presentation.Blocks
- Assembly
- MailFathom.Application.dll
AttachmentGalleryBlock(PresentationEvidence, IReadOnlyList<AttachmentEntry>)
Initializes the files a question is about.
public AttachmentGalleryBlock(PresentationEvidence evidence, IReadOnlyList<AttachmentEntry> entries)
Parameters
evidencePresentationEvidenceWhat the correspondence does for the gallery as a whole.
entriesIReadOnlyList<AttachmentEntry>The entries, most relevant first.
Exceptions
- ArgumentNullException
Thrown when
evidenceorentriesis null.- ArgumentException
Thrown when there are no entries or more than MaxEntries of them.