Method ToPersonalTask
- Namespace
- MailFathom.Domain.Notifications
- Assembly
- MailFathom.Domain.dll
ToPersonalTask(PersonalTaskId)
Creates a target that leads to one task of the person's own list.
public static NotificationTarget ToPersonalTask(PersonalTaskId personalTask)
Parameters
personalTaskPersonalTaskIdThe task the notification is about.
Returns
- NotificationTarget
A task target.
Remarks
One task rather than the task screen, for the reason the calendar event is one event: what a reminder is about is a single thing somebody owes rather than a list, and a reader following it is taken to the thing they were reminded of.
Exceptions
- ArgumentException
Thrown when
personalTasknames no task.