Constructor ContactRelationshipReader
- Namespace
- MailFathom.Application.Contacts.Relationship
- Assembly
- MailFathom.Application.dll
ContactRelationshipReader(ContactCorrespondenceReader, IContactRelationshipDeriver, MailboxScopeResolver, SensitiveContentEgressGuard, AccessAuthorization, IUserLanguages)
Initializes the use case.
public ContactRelationshipReader(ContactCorrespondenceReader correspondenceReader, IContactRelationshipDeriver deriver, MailboxScopeResolver scopeResolver, SensitiveContentEgressGuard egressGuard, AccessAuthorization authorization, IUserLanguages languages)
Parameters
correspondenceReaderContactCorrespondenceReaderCorrelates the contact with the mail this caller may read, which is what the derivation is scoped to.
deriverIContactRelationshipDeriverDerives the card, which is the one part of this that reaches a provider.
scopeResolverMailboxScopeResolverAnswers whose mail is being read, which is also whose language the card is written in.
egressGuardSensitiveContentEgressGuardScans what the card publishes to a client, where this deployment scans anything.
authorizationAccessAuthorizationEnforces the grant this derivation is behind.
languagesIUserLanguagesAnswers which language this deployment writes for a person in, which is the language the card comes out in.
Exceptions
- ArgumentNullException
Thrown when any argument is null.