Table of Contents

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

notification Notification

The row that was written, whose user and already-derived text this carries.

unreadCount int

How 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 notification is null.

ArgumentOutOfRangeException

Thrown when unreadCount is negative.