Table of Contents

Constructor MailContactCollector

Namespace
MailFathom.Application.Contacts.Collection
Assembly
MailFathom.Application.dll

MailContactCollector(ContactBook, IContactCollectionSettingsReader, IAuthoredMailTally, IContactCollectionTelemetry)

Initializes collection over the book it writes to and the evidence it reads.

public MailContactCollector(ContactBook book, IContactCollectionSettingsReader settingsReader, IAuthoredMailTally authoredMail, IContactCollectionTelemetry telemetry)

Parameters

book ContactBook

Answers whether an address is already held, and records the ones that are not.

settingsReader IContactCollectionSettingsReader

Answers what the account being synchronized collects.

authoredMail IAuthoredMailTally

Counts how much of the account's mail one address wrote.

telemetry IContactCollectionTelemetry

Reports what was concluded, without reporting about whom.

Exceptions

ArgumentNullException

Thrown when a required collaborator is null.