Method Create
- Namespace
- MailFathom.Application.Contacts.Relationship
- Assembly
- MailFathom.Application.dll
Create(string?, IReadOnlyList<ContactRelationshipSource>)
Records one statement, or nothing where the correspondence does not back it.
public static ContactRelationshipStatement? Create(string? text, IReadOnlyList<ContactRelationshipSource> sources)
Parameters
textstringWhat the derivation said, which may be blank where a producer wrote nothing under the heading.
sourcesIReadOnlyList<ContactRelationshipSource>The conversations and documents backing it.
Returns
- ContactRelationshipStatement
The statement, or null where there is no text or nothing backing it.
Remarks
It answers with nothing rather than refusing, because a producer leaving a heading out and a producer writing one nothing supports are both ordinary answers about a correspondence — a person with one exchange and no documents genuinely has no case to name. Only a card with no note at all is worth reporting, and the derivation above reports it.
Exceptions
- ArgumentNullException
Thrown when
sourcesis null.