Method Derived
- Namespace
- MailFathom.Application.Contacts.Relationship
- Assembly
- MailFathom.Application.dll
Derived(ContactRelationshipStatement?, ContactRelationshipStatement?, IReadOnlyList<ContactRelationshipObservation>)
Records one derived card.
public static ContactRelationship Derived(ContactRelationshipStatement? note, ContactRelationshipStatement? nextAction, IReadOnlyList<ContactRelationshipObservation> observations)
Parameters
noteContactRelationshipStatementThe note the card is headed by, or null where none survived.
nextActionContactRelationshipStatementWhat to do next, or null where the derivation suggested nothing.
observationsIReadOnlyList<ContactRelationshipObservation>What it observed beside the note, at most one per aspect.
Returns
- ContactRelationship
The card, or Nothing where no note survived.
Exceptions
- ArgumentNullException
Thrown when
observationsis null.