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
bookContactBookAnswers whether an address is already held, and records the ones that are not.
settingsReaderIContactCollectionSettingsReaderAnswers what the account being synchronized collects.
authoredMailIAuthoredMailTallyCounts how much of the account's mail one address wrote.
telemetryIContactCollectionTelemetryReports what was concluded, without reporting about whom.
Exceptions
- ArgumentNullException
Thrown when a required collaborator is null.