Constructor NotificationRetention
- Namespace
- MailFathom.Application.Notifications
- Assembly
- MailFathom.Application.dll
NotificationRetention(INotificationStore, TimeProvider)
Initializes the retention pass from the record it erases from.
public NotificationRetention(INotificationStore store, TimeProvider timeProvider)
Parameters
storeINotificationStoreHolds the notifications the pass erases from.
timeProviderTimeProviderMeasures the window back from now.
Exceptions
- ArgumentNullException
Thrown when a required collaborator is null.