Class ContactErasure
- Namespace
- MailFathom.Application.Contacts
- Assembly
- MailFathom.Application.dll
States what erasing one contact removed.
public sealed record ContactErasure : IEquatable<ContactErasure>
- Inheritance
-
ContactErasure
- Implements
- Inherited Members
Remarks
The counts are the point rather than a courtesy. Erasure is a data-subject obligation, so an owner asking for one is entitled to an answer saying what was removed instead of a call that returned without complaint — and a count is what lets a test prove that everything derived from the contact went with it rather than that the call did not throw. It carries no name, address, or note: what an erasure reports about a person is that they are gone.
Constructors
- ContactErasure(ContactId, bool, int)
States what erasing one contact removed.
Properties
- AddressesErased
How many addresses went with it.
- ContactId
The contact the erasure was asked for.
- WasHeld
Whether the book held that contact when the erasure ran.