Class MailboxExportMeasurement
- Namespace
- MailFathom.Application.Mail.Export
- Assembly
- MailFathom.Application.dll
What an export of one mailbox, or of one folder of it, would carry — read from what the database records rather than from any payload.
public sealed record MailboxExportMeasurement : IEquatable<MailboxExportMeasurement>
- Inheritance
-
MailboxExportMeasurement
- Implements
- Inherited Members
Remarks
The figures are the recorded lengths of the stored messages, summed. No payload is read to produce them, which is what lets the answer come back in seconds for a mailbox of years — and what makes it an estimate rather than a promise: the archive adds a header and a directory entry per message, and mail arriving between the measurement and the job is exported too.
A folder holding nothing is left out rather than reported as a zero, because what an operator reads this for is where the volume is.
Constructors
- MailboxExportMeasurement(IReadOnlyList<MailboxExportFolderMeasurement>)
What an export of one mailbox, or of one folder of it, would carry — read from what the database records rather than from any payload.
Properties
- ByteCount
Gets how many bytes of stored mail those messages hold between them, before the archive's own overhead.
- Empty
Gets the measurement of a mailbox, or a scope of one, that holds no stored message at all.
- Folders
One row per folder that holds anything, in the order the archive would write them.
- MessageCount
Gets how many stored messages the export would carry.