Constructor SpamClassificationHistoryPage
- Namespace
- MailFathom.Application.Spam.History
- Assembly
- MailFathom.Application.dll
SpamClassificationHistoryPage(IReadOnlyList<SpamClassificationHistoryEntry>, SpamClassificationHistoryCursor?)
Carries one bounded page of an account's classifications and the boundary the next page continues from.
public SpamClassificationHistoryPage(IReadOnlyList<SpamClassificationHistoryEntry> Entries, SpamClassificationHistoryCursor? NextCursor)
Parameters
EntriesIReadOnlyList<SpamClassificationHistoryEntry>The classifications, newest first.
NextCursorSpamClassificationHistoryCursor?The cursor a caller presents for the following page, or null when this page reached the end.
Remarks
The absent cursor is the end of the walk rather than a page that happened to be short: a page is only ever short because the filtered records held nothing more, so a caller stops when the cursor stops instead of comparing the count against the size it asked for.