Table of Contents

Class OpenedEmailAttachmentResult

Namespace
MailFathom.Application.EmailContent.Attachments
Assembly
MailFathom.Application.dll

What opening one attachment of a stored message produced.

public sealed record OpenedEmailAttachmentResult : IEquatable<OpenedEmailAttachmentResult>
Inheritance
OpenedEmailAttachmentResult
Implements
Inherited Members

Remarks

The two absences are separated for the reason a read separates them: bytes that no longer parse are a damaged local copy the caller records a repair request for, while a position the message does not have is an ordinary refusal of a capability that has outlived the message it described. Neither reaches the reader as anything but one refusal.

Constructors

OpenedEmailAttachmentResult(IOpenedEmailAttachment?, bool)

What opening one attachment of a stored message produced.

Properties

Attachment

The opened attachment, which the caller owns and must dispose, or null when none was opened.

ContentIsUnreadable

Whether the stored bytes could not be parsed at all, as opposed to naming no such attachment.

Methods

NoSuchAttachment()

Reports that the message parsed and carries no attachment at the named position.

Opened(IOpenedEmailAttachment)

Carries the attachment that was opened.

Unreadable()

Reports that the stored bytes yielded nothing that could be parsed.