Table of Contents

Constructor DiscoveryRunJournal

Namespace
MailFathom.Application.Discovery.Streaming
Assembly
MailFathom.Application.dll

DiscoveryRunJournal(DiscoveryRunId, UserId, IDiscoveryRunStore, ClientSignals, TimeProvider)

Initializes the journal of one run that has already been opened in the store.

public DiscoveryRunJournal(DiscoveryRunId id, UserId user, IDiscoveryRunStore store, ClientSignals signals, TimeProvider timeProvider)

Parameters

id DiscoveryRunId

The identifier the run is addressed by.

user UserId

Whose mail the run reads, which is who may read what it writes and whose screens are told.

store IDiscoveryRunStore

Where the run's events are written.

signals ClientSignals

Where the advance is announced, which is best effort and never the guarantee.

timeProvider TimeProvider

Stamps each write, which is what the retention windows are measured from.

Exceptions

ArgumentNullException

Thrown when a required collaborator is null.