Method Create
- Namespace
- MailFathom.Application.Retrieval.AskMail.Audit
- Assembly
- MailFathom.Application.dll
Create(MailAccountId, DateTimeOffset?, DateTimeOffset?, int?, MailAnsweringAuditCursor?)
Builds a validated query from what a caller asked for, or reports why the request names no page.
public static MailAnsweringAuditQueryResult Create(MailAccountId accountId, DateTimeOffset? completedFrom, DateTimeOffset? completedBefore, int? pageSize, MailAnsweringAuditCursor? cursor)
Parameters
accountIdMailAccountIdThe account whose record is read.
completedFromDateTimeOffset?The earliest completion instant served, inclusive, or null for none.
completedBeforeDateTimeOffset?The completion instant to stop before, exclusive, or null for none.
pageSizeint?How many entries the page may hold, or null for DefaultPageSize.
cursorMailAnsweringAuditCursor?The boundary a continued walk reads beyond, or null for the first page.
Returns
- MailAnsweringAuditQueryResult
The accepted query, or the refusal naming what the caller has to change.