Method TryDecode
- Namespace
- MailFathom.Application.Notifications
- Assembly
- MailFathom.Application.dll
TryDecode(string?, out NotificationCursor?)
Reads a cursor a caller presented.
public static bool TryDecode(string? text, out NotificationCursor? cursor)
Parameters
textstringThe encoded cursor, as a previous page returned it.
cursorNotificationCursor?The decoded cursor when the text is one this version issued; otherwise null.
Returns
Remarks
Every notification describes a known instant, so a payload carrying none names no boundary here and is refused. Whether a decoded cursor belongs to the caller is a separate question its UserFingerprint answers, and one this method deliberately does not ask.