Method NotificationRaised
- Namespace
- MailFathom.Application.Signals
- Assembly
- MailFathom.Application.dll
NotificationRaised(Notification, int)
States that a notification record was written for one person.
public static ClientSignal NotificationRaised(Notification notification, int unreadCount)
Parameters
notificationNotificationThe row that was written, whose user and already-derived text this carries.
unreadCountintHow many of that person's notifications now stand unread.
Returns
- ClientSignal
The signal.
Remarks
The headline and the second line are the record's own, composed when it was raised and bounded by the same columns the notification routes already serve them from, so nothing here reads mail to compose them.
Exceptions
- ArgumentNullException
Thrown when
notificationis null.- ArgumentOutOfRangeException
Thrown when
unreadCountis negative.