Enum NotificationReadOutcome
- Namespace
- MailFathom.Application.Notifications
- Assembly
- MailFathom.Application.dll
What became of a request to change one notification's read state.
public enum NotificationReadOutcome
Fields
Applied = 0The notification now stands in the read state the request asked for, whether or not it had to move to get there.
ConditionAlreadyStanding = 2Marking it unread would have put a second unread notification on a condition that already stands unread.
NotFound = 1The caller's own notifications hold none under that identifier, which is also the answer for one somebody else holds.
Remarks
Three answers rather than two, because marking a notification unread is the one direction that can be refused by something other than the notification's absence: the deduplication rule holds one unread notification per condition, so a condition said again after this one was read already stands unread in its place.