Table of Contents

Struct StoredContentCeilings

Namespace
MailFathom.Application.EmailContent.Storage
Assembly
MailFathom.Application.dll

What this deployment's stored mail content may occupy in total, and what any one user may occupy of it.

public readonly record struct StoredContentCeilings : IEquatable<StoredContentCeilings>
Implements
Inherited Members

Remarks

The two travel together because a claim is admitted by both or by neither, and an implementation that took them one at a time would have to decide what to do about the half it had already charged. They are also counted in different quantities on purpose: the deployment's is what the operator's disk fills with, which only the database can report, and a user's is what their payloads hold, which is the only figure attributable to one person at all.

An absent ceiling is not zero and not MaxValue written out — it is the statement that nothing bounds that population, which is what lets a deployment that declared neither take no claim at all.

Constructors

StoredContentCeilings(long?, long?)

What this deployment's stored mail content may occupy in total, and what any one user may occupy of it.

Properties

BoundsAnything

Gets whether either population is bounded, which is what decides whether a claim is worth taking.

DeploymentBytes

The deployment's ceiling, or null where storage is bounded only by the disk.

UserBytes

The per-user ceiling, or null where no user is bounded separately.