Table of Contents

Interface IDayLayoutPlanner

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

Arranges one day's tasks against what is already on it.

public interface IDayLayoutPlanner

Remarks

The one way a day is laid out. An implementation is registered for every deployment, including one that declared no model at all — the answer a caller needs is a reason it can act on, and a missing registration would have made the use case carry a null check and decide for itself what an absence meant.

It runs when somebody asks and never otherwise. Nothing here is reached by a pass, a schedule, or an arrival, so a deployment spends on a layout exactly as often as a person presses the control, and a day nobody asked about costs nothing.

It never throws for a provider that failed. Every way an arrangement can come to nothing is a member of DayLayoutWithholding, because what the screen does with each is the same shape — say so and leave the control where it was. Caller cancellation is the exception and propagates, being the person withdrawing the request rather than anything about their day.

Properties

IsActive

Gets whether this deployment lays a day out at all.

Methods

SuggestAsync(DayLayoutQuestion, CancellationToken)

Suggests an arrangement of one day.