Method After
- Namespace
- MailFathom.Application.Mail.Mutations.Audit
- Assembly
- MailFathom.Application.dll
After(MailboxMutationAuditEntry, string)
Creates the cursor that continues a walk after one entry.
public static MailboxMutationAuditCursor After(MailboxMutationAuditEntry entry, string filterFingerprint)
Parameters
entryMailboxMutationAuditEntryThe last entry the page returned.
filterFingerprintstringThe fingerprint of the filters the page was read under.
Returns
- MailboxMutationAuditCursor
The cursor.
Exceptions
- ArgumentNullException
Thrown when
entryis null.- ArgumentException
Thrown when
filterFingerprintis blank.
After(DateTimeOffset, MailboxMutationAuditEntryId, string)
Creates the cursor that continues a walk after one position in the trail.
public static MailboxMutationAuditCursor After(DateTimeOffset completedAt, MailboxMutationAuditEntryId entryId, string filterFingerprint)
Parameters
completedAtDateTimeOffsetThe completion instant the page ended on.
entryIdMailboxMutationAuditEntryIdThe identity of the entry at that instant.
filterFingerprintstringThe fingerprint of the filters the page was read under.
Returns
- MailboxMutationAuditCursor
The cursor.
Remarks
The position is taken rather than an entry, because a page advances by the rows it read rather than by the entries it could present. A row this build cannot interpret is left out of the page and still passed, so a walk never stalls on one and never repeats the rows either side of it.
Exceptions
- ArgumentException
Thrown when
filterFingerprintis blank.