Class SpamClassificationHistoryPage
- Namespace
- MailFathom.Application.Spam.History
- Assembly
- MailFathom.Application.dll
Carries one bounded page of an account's classifications and the boundary the next page continues from.
public sealed record SpamClassificationHistoryPage : IEquatable<SpamClassificationHistoryPage>
- Inheritance
-
SpamClassificationHistoryPage
- Implements
- Inherited Members
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.
Constructors
- SpamClassificationHistoryPage(IReadOnlyList<SpamClassificationHistoryEntry>, SpamClassificationHistoryCursor?)
Carries one bounded page of an account's classifications and the boundary the next page continues from.
Properties
- Entries
The classifications, newest first.
- NextCursor
The cursor a caller presents for the following page, or null when this page reached the end.