Constructor AttachmentDerivationPeriod
- Namespace
- MailFathom.Application.Emails.AttachmentText.Limits
- Assembly
- MailFathom.Application.dll
AttachmentDerivationPeriod(AttachmentDerivationStep, DateTimeOffset, DateTimeOffset, long, long?)
What one budget period has spent on one step of reading attachments, and what it still admits.
public AttachmentDerivationPeriod(AttachmentDerivationStep Step, DateTimeOffset StartsAt, DateTimeOffset EndsAt, long ConsumedUnitCount, long? CeilingUnitCount)
Parameters
StepAttachmentDerivationStepWhich step the figures below belong to, which is what says the unit they are counted in.
StartsAtDateTimeOffsetWhen the period began, which is the key its total is counted under.
EndsAtDateTimeOffsetWhen it rolls over, which is the instant paused work resumes at.
ConsumedUnitCountlongWhat the step has already consumed inside this period, in that step's own unit.
CeilingUnitCountlong?What the period admits, or null where the deployment declared no ceiling.
Remarks
The shape EmbeddingSpendPeriod already has, kept apart from it rather than shared because the unit differs by
step: a member named for characters would be lying about octets and about calls. The step travels with the figures
for exactly that reason — a count with no unit is a number an operator cannot act on.
Counts and instants only. No message, attachment, file name, or word is describable from it, which is what makes it safe to serve from the administrative endpoint and to write into a log line.