Class AttachmentDerivationStatusReader
- Assembly
- MailFathom.Application.dll
Composes where attachment reading stands out of the coverage it has and the periods it has consumed.
public sealed class AttachmentDerivationStatusReader
- Inheritance
-
AttachmentDerivationStatusReader
- Inherited Members
Remarks
Composed here rather than by whichever surface asks, for the reason the embedding status is: the composition is the answer, and assembling it in an endpoint would leave a second caller to assemble it differently. It performs no authorization of its own, because both callers are administrative use cases that have already demanded the grant their own route publishes.
Constructors
- AttachmentDerivationStatusReader(IAttachmentDerivationCoverageReader, AttachmentDerivationSpendGate)
Initializes a new reader over the two sources one answer is composed from.
Methods
- ReadAsync(MailAccountId?, CancellationToken)
Reads where attachment and image reading stands, for one account or for the whole deployment.