Table of Contents

Method TryDecode

Namespace
MailFathom.Application.Rules.History
Assembly
MailFathom.Application.dll

TryDecode(string?, out MailRuleExecutionCursor?)

Reads a cursor a caller presented.

public static bool TryDecode(string? text, out MailRuleExecutionCursor? cursor)

Parameters

text string

The encoded cursor, as a previous page returned it.

cursor MailRuleExecutionCursor?

The decoded cursor when the text is one this version issued; otherwise null.

Returns

bool

true when the text decoded into a usable cursor; otherwise false.

Remarks

Every execution this history returns was evaluated at a known instant, so a payload carrying none names no boundary here and is refused. Whether a decoded cursor belongs to the current request is a separate question its FilterFingerprint answers, and one this method deliberately does not ask.