Table of Contents

Method TryDecode

Namespace
MailFathom.Application.Paging
Assembly
MailFathom.Application.dll

TryDecode(string?, AdministrativeListing, out Guid, Guid?)

Reads a cursor a caller presented to one listing.

public static bool TryDecode(string? text, AdministrativeListing listing, out Guid after, Guid? within = null)

Parameters

text string

The cursor, as a previous page returned it.

listing AdministrativeListing

The listing it was presented to.

after Guid

The identifier the walk continues after when the cursor was issued by that listing; otherwise Empty.

within Guid?

The record whose rows the listing walks, or null for a listing of the deployment's own.

Returns

bool

true when the text is a cursor this listing issued for that record; otherwise false.