Table of Contents

Class DayLayoutPlacement

Namespace
MailFathom.Application.Tasks
Assembly
MailFathom.Application.dll

Where one task is suggested to sit in the day.

public sealed record DayLayoutPlacement : IEquatable<DayLayoutPlacement>
Inheritance
DayLayoutPlacement
Implements
Inherited Members

Remarks

A window rather than an order alone, because a day is laid out against a calendar: an order says what to do next and a window says whether it fits between two meetings, and only the second answers the question the control was pressed to ask.

Constructors

DayLayoutPlacement(PersonalTaskId, DateTimeOffset, TimeSpan)

Where one task is suggested to sit in the day.

Fields

DefaultMinutes

The window suggested for something whose length nothing says anything about.

MaximumMinutes

The longest window a placement is offered with.

MinimumMinutes

The shortest window a placement is offered with.

Properties

Duration

How long it is suggested to take, which stands between the two bounds below.

StartAt

When it is suggested to begin, which falls inside the day that was asked about.

Task

The task being placed.