Struct AttachmentPassagePosition
- Namespace
- MailFathom.Application.Emails.AttachmentText
- Assembly
- MailFathom.Application.dll
Where a read of one message's attachment passages stopped, which is what the next page continues past.
public readonly record struct AttachmentPassagePosition : IEquatable<AttachmentPassagePosition>
- Implements
- Inherited Members
Remarks
The two columns the passages of one message are ordered by, in that order, and therefore the whole of the keyset: a message holds at most one passage per attachment position and ordinal, so the pair is unique within the message and no tie-breaker is needed. A caller builds one from the last AttachmentPassage it received rather than counting rows, so a passage written or erased between two pages moves nothing that has already been read.
Constructors
- AttachmentPassagePosition(int, int)
Where a read of one message's attachment passages stopped, which is what the next page continues past.
Properties
- AttachmentPosition
The walk position of the attachment the last passage read belongs to.
- Ordinal
That passage's place in the attachment's own text.