Class DayLayoutSuggestion
- Namespace
- MailFathom.Application.Tasks
- Assembly
- MailFathom.Application.dll
An arrangement of one day that is offered and never applied.
public sealed record DayLayoutSuggestion : IEquatable<DayLayoutSuggestion>
- Inheritance
-
DayLayoutSuggestion
- Implements
- Inherited Members
Remarks
Nothing here has happened. No task is moved, no due day is rewritten, and no event is put on a calendar: a suggestion is read by the screen that asked for it and comes to nothing unless the person acts on it, through the routes that own each of those acts. That is what makes this a value rather than a write, and it is why laying out a day twice leaves the same two lists it started with.
It names tasks by identity and nothing else. The lines were sent to decide the arrangement and the arrangement does not repeat them, so a client draws each row from the task it already holds — which is also what keeps an arrangement from becoming a second copy of somebody's list.
Constructors
- DayLayoutSuggestion(IReadOnlyList<DayLayoutPlacement>, IReadOnlyList<PersonalTaskId>)
An arrangement of one day that is offered and never applied.
Properties
- NotToday
The tasks that do not realistically fit the day, which the person is shown rather than told about afterwards.
- Placements
What to do and when, in the order it is suggested, holding each task at most once.