Method TryDecode
- Namespace
- MailFathom.Application.Emails.BrowseThread
- Assembly
- MailFathom.Application.dll
TryDecode(string?, out EmailThreadCursor)
Reads a cursor a caller presented.
public static bool TryDecode(string? text, out EmailThreadCursor cursor)
Parameters
textstringThe encoded cursor, as a previous page returned it.
cursorEmailThreadCursorThe decoded cursor when the text is one this version issued; otherwise the struct default.
Returns
Remarks
A payload carrying an instant is refused, because this reading writes none and one that arrived carrying one was built rather than issued. Whether a decoded cursor belongs to the conversation in hand is a separate question its ThreadFingerprint answers, and one this method deliberately does not ask.