Constructor UserOutboxPageResult
- Namespace
- MailFathom.Application.Mail.Delivery.Tracking
- Assembly
- MailFathom.Application.dll
UserOutboxPageResult(OutboxPage?, OutboxQueryOutcome)
Carries the page of a user's outbox a request named, or the reason it named none.
public UserOutboxPageResult(OutboxPage? Page, OutboxQueryOutcome Outcome)
Parameters
PageOutboxPageThe page, present exactly when
Outcomeis Accepted.OutcomeOutboxQueryOutcomeWhat happened, which for a refusal is what the caller has to change.
Remarks
It is OutboxQueryResult after the query has been run rather than beside it, because a user-facing reading resolves the account it may narrow to and reads the page in one act: splitting the two would put the scoping in whatever called it, which is where a user-facing read must never decide.