Table of Contents

Method SuggestAsync

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

SuggestAsync(DayLayoutQuestion, CancellationToken)

Suggests an arrangement of one day.

Task<DayLayoutDerivation> SuggestAsync(DayLayoutQuestion question, CancellationToken cancellationToken)

Parameters

question DayLayoutQuestion

The day, what is owed on it, and what it is already committed to.

cancellationToken CancellationToken

Propagates caller cancellation.

Returns

Task<DayLayoutDerivation>

The arrangement, or the reason none was produced this time.

Remarks

The arrangement names only tasks the question carried, and each of them at most once. Nothing is written by producing one: what comes back is offered to the person and applied by their own acts or not at all.

Exceptions

ArgumentNullException

Thrown when question is null.

OperationCanceledException

Thrown when the caller cancels.