Class MailQuestion
- Namespace
- MailFathom.Application.Retrieval
- Assembly
- MailFathom.Application.dll
What a caller asks about their mail, and the mail the answer may be drawn from.
public sealed record MailQuestion : IEquatable<MailQuestion>
- Inheritance
-
MailQuestion
- Implements
- Inherited Members
Remarks
The scope belongs to the question rather than to the deployment because it is the caller's authorization expressed as data: a question asked over one account must not be answerable from another, whatever the model is later told. It is resolved before the run starts and applied to every retrieval the run makes.
Both halves arrive validated and neither can be built otherwise, so an entrypoint added later reaches the answering port with a bounded question and a resolved scope or reaches it not at all.
Constructors
- MailQuestion(MailQuestionText, MailboxScope)
What a caller asks about their mail, and the mail the answer may be drawn from.
Properties
- Scope
The accounts and folders the answer may be drawn from.
- Text
The validated question, in the words the caller wrote it in.