Table of Contents

Class NotificationPage

Namespace
MailFathom.Application.Notifications
Assembly
MailFathom.Application.dll

Carries one bounded page of a person's notifications and the boundary the next page continues from.

public sealed record NotificationPage : IEquatable<NotificationPage>
Inheritance
NotificationPage
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 centre held nothing more, so a caller stops when the cursor stops instead of comparing the count against the size it asked for.

Constructors

NotificationPage(IReadOnlyList<Notification>, NotificationCursor?)

Carries one bounded page of a person's notifications and the boundary the next page continues from.

Properties

NextCursor

The cursor a caller presents for the following page, or null when this page reached the end of the centre.

Notifications

The notifications, newest first.