Table of Contents

Constructor CalendarFileImport

Namespace
MailFathom.Application.Calendar.Import
Assembly
MailFathom.Application.dll

CalendarFileImport(AccessAuthorization, ICalendarFileReader, ICalendarEventStore, IUserTimeZones, OptimisticConcurrencyRetryPolicy, TimeProvider)

Initializes the use case.

public CalendarFileImport(AccessAuthorization authorization, ICalendarFileReader reader, ICalendarEventStore store, IUserTimeZones zones, OptimisticConcurrencyRetryPolicy concurrencyRetryPolicy, TimeProvider timeProvider)

Parameters

authorization AccessAuthorization

Reports the grant the caller holds and the person it acts for.

reader ICalendarFileReader

Reads the entries of an offered file.

store ICalendarEventStore

Holds the calendars.

zones IUserTimeZones

Answers which zone the acting person's own days are read in.

concurrencyRetryPolicy OptimisticConcurrencyRetryPolicy

Commits the write, deciding again from a fresh read when another write won.

timeProvider TimeProvider

Supplies the instant an imported event is identified and recorded by.

Exceptions

ArgumentNullException

Thrown when any argument is null.