Table of Contents

Class AttachmentDerivationAdmission

Namespace
MailFathom.Application.Emails.AttachmentText.Limits
Assembly
MailFathom.Application.dll

Where one user stands on one step of attachment reading, against both ceilings that bound them.

public sealed record AttachmentDerivationAdmission : IEquatable<AttachmentDerivationAdmission>
Inheritance
AttachmentDerivationAdmission
Implements
Inherited Members

Remarks

The two halves are the same shape because they are the same question asked of two populations, and both are needed at once: work is admitted only where both admit it, and a refusal is only actionable if it says which one refused. Both share the period's instants, so paused work wakes at one roll-over whichever bound stopped it.

Constructors

AttachmentDerivationAdmission(AttachmentDerivationPeriod, AttachmentDerivationPeriod)

Where one user stands on one step of attachment reading, against both ceilings that bound them.

Properties

AdmitsWork

Gets whether this user's mail may be read under this step right now.

Deployment

What every user together has consumed and what the deployment's ceiling admits.

EndsAt

Gets when the period rolls over, which is the instant paused work resumes at whichever bound stopped it.

ReachedBound

Gets which ceiling this period has reached, if either.

Step

Gets which step both halves report on.

User

What the named user has consumed in this period and what their own ceiling admits.