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
authorizationAccessAuthorizationReports the grant the caller holds and the person it acts for.
readerICalendarFileReaderReads the entries of an offered file.
storeICalendarEventStoreHolds the calendars.
zonesIUserTimeZonesAnswers which zone the acting person's own days are read in.
concurrencyRetryPolicyOptimisticConcurrencyRetryPolicyCommits the write, deciding again from a fresh read when another write won.
timeProviderTimeProviderSupplies the instant an imported event is identified and recorded by.
Exceptions
- ArgumentNullException
Thrown when any argument is null.