Table of Contents

Constructor MailRuleExecutionPage

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

MailRuleExecutionPage(IReadOnlyList<MailRuleExecution>, MailRuleExecutionCursor?)

Carries one bounded page of an account's rule history and the boundary the next page continues from.

public MailRuleExecutionPage(IReadOnlyList<MailRuleExecution> Executions, MailRuleExecutionCursor? NextCursor)

Parameters

Executions IReadOnlyList<MailRuleExecution>

The executions, newest first.

NextCursor MailRuleExecutionCursor?

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

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 filtered history held nothing more, so a caller stops when the cursor stops instead of comparing the count against the size it asked for.