Constructor MailAnsweringBudget
- Namespace
- MailFathom.Application.Retrieval.AskMail
- Assembly
- MailFathom.Application.dll
MailAnsweringBudget(EmailKnowledgeBounds, MailAnsweringRunBounds, MailAnsweringPeriodBounds, MailAnswerBounds)
Every ceiling one question about the mailbox is subject to, from what a lookup hands over to what a period may spend.
public MailAnsweringBudget(EmailKnowledgeBounds Retrieval, MailAnsweringRunBounds Run, MailAnsweringPeriodBounds Period, MailAnswerBounds Answer)
Parameters
RetrievalEmailKnowledgeBoundsWhat one lookup may draw out of the mailbox.
RunMailAnsweringRunBoundsWhat one run may send, call, and consume.
PeriodMailAnsweringPeriodBoundsWhat the runs of one period may add up to.
AnswerMailAnswerBoundsHow much of a run's outcome one response publishes.
Remarks
The four are declared together because an operator reads them together — they are one decision about how much answering costs and how much mail leaves — and they are separate values because they are enforced in four places: where the passages are built, where a provider call is about to be made, where a question is admitted, and where a response is written. A composition root maps the declaration onto this and registers the parts; nothing downstream resolves the whole.
It holds no credential, no endpoint, and nothing about which provider answers. What a question may spend is a property of this deployment rather than of the model it happens to be pointed at, so an instance that answers no questions still has these ceilings and simply never reaches one.