Class AttachmentEntry
- Namespace
- MailFathom.Application.Discovery.Presentation.Blocks
- Assembly
- MailFathom.Application.dll
One file found in mail.
public sealed record AttachmentEntry : IEquatable<AttachmentEntry>
- Inheritance
-
AttachmentEntry
- Implements
- Inherited Members
Remarks
The media type is what the message declared rather than what the content is, so a client uses it to choose an icon and never to decide how to open something. The size is the message's own account of it, which is why an entry whose content was never stored still has one.
Constructors
- AttachmentEntry(PresentationCitationId, PresentationText, PresentationText?, long, AttachmentAvailability)
Initializes one file found in mail.
Properties
- Availability
Gets whether the file can be opened.
- Name
Gets the file's name, normalized.
- SizeOctets
Gets how large the message says the file is.
- Source
Gets the citation resolving to the attachment.