Table of Contents

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

correspondenceReader ContactCorrespondenceReader

Correlates the contact with the mail this caller may read, which is what the derivation is scoped to.

deriver IContactRelationshipDeriver

Derives the card, which is the one part of this that reaches a provider.

scopeResolver MailboxScopeResolver

Answers whose mail is being read, which is also whose language the card is written in.

egressGuard SensitiveContentEgressGuard

Scans what the card publishes to a client, where this deployment scans anything.

authorization AccessAuthorization

Enforces the grant this derivation is behind.

languages IUserLanguages

Answers 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.