Method PromotedToAsserted
- Namespace
- MailFathom.Domain.Contacts
- Assembly
- MailFathom.Domain.dll
PromotedToAsserted(DateTimeOffset)
Produces this contact as one the owner has taken responsibility for.
public Contact PromotedToAsserted(DateTimeOffset promotedAt)
Parameters
promotedAtDateTimeOffsetWhen the promotion happened.
Returns
- Contact
The same contact, asserted.
Remarks
The one transition between origins, and it runs one way. Promoting is an act somebody performs, so an asserted contact drifting back to collected is not a transition this type declines to make but one that has no meaning: nothing can unsay that somebody wrote a person down.
Exceptions
- InvalidOperationException
Thrown when the contact is already asserted.