Table of Contents

Constructor AttachmentEntry

Namespace
MailFathom.Application.Discovery.Presentation.Blocks
Assembly
MailFathom.Application.dll

AttachmentEntry(PresentationCitationId, PresentationText, PresentationText?, long, AttachmentAvailability)

Initializes one file found in mail.

public AttachmentEntry(PresentationCitationId source, PresentationText name, PresentationText? mediaType, long sizeOctets, AttachmentAvailability availability)

Parameters

source PresentationCitationId

The citation resolving to the attachment.

name PresentationText

The file's name, normalized.

mediaType PresentationText?

The media type the message declared, or null where it declared none.

sizeOctets long

How large the message says the file is.

availability AttachmentAvailability

Whether the file can be opened.

Exceptions

ArgumentException

Thrown when the source or the name is the unspecified default.

ArgumentOutOfRangeException

Thrown when sizeOctets is negative.