Class EmailContentRepairRequestStoreExtensions
- Namespace
- MailFathom.Application.EmailContent.Repair
- Assembly
- MailFathom.Application.dll
Records the one defect a successful read discovers, for every use case that reads stored content.
public static class EmailContentRepairRequestStoreExtensions
- Inheritance
-
EmailContentRepairRequestStoreExtensions
- Inherited Members
Remarks
Every other defect refuses the read, so the caller that found it is already writing a refusal and records the note on its way out. This one does not: the bytes were served, from the copy the database retained beside an object that could not be vouched for. Each reading use case would otherwise carry the same three lines, and a use case that forgot them would read a deployment's mail through a broken object endpoint without anything saying so.
Methods
- NoteIfServedFromRetainedCopyAsync(IEmailContentRepairRequestStore, StoredEmailContent, StoredEmailId, CancellationToken)
Records that an object could not be vouched for, when the content served proves that it could not.