Constructor DayLayoutQuestion
- Namespace
- MailFathom.Application.Tasks
- Assembly
- MailFathom.Application.dll
DayLayoutQuestion(DateTimeOffset, DateTimeOffset, IReadOnlyList<DayLayoutTask>, IReadOnlyList<DayLayoutCommitment>)
One day, what the person owes on it, and what they are already committed to during it.
public DayLayoutQuestion(DateTimeOffset DayStart, DateTimeOffset DayEnd, IReadOnlyList<DayLayoutTask> Tasks, IReadOnlyList<DayLayoutCommitment> Commitments)
Parameters
DayStartDateTimeOffsetThe instant the person's day opens.
DayEndDateTimeOffsetThe instant it closes.
TasksIReadOnlyList<DayLayoutTask>What the person owes on that day, soonest due first.
CommitmentsIReadOnlyList<DayLayoutCommitment>What they are already committed to during it, earliest first.
Remarks
The whole of what a layout is decided from. The day is a window rather than a date because whose day it is decides when it begins: this deployment keeps no timezone for a person, so the client states the two instants its own calendar drew, exactly as it states them to read the calendar itself.
It carries the tasks and the commitments as values rather than as the records they were read from, because a layout is decided from four things — what is owed, when it is due, when the day is busy, and how long the day is — and nothing about a task's origin, its completion, or the message it cites changes the arrangement. What is not here cannot reach a provider.