Method ReviseAsync
- Namespace
- MailFathom.Application.Tasks
- Assembly
- MailFathom.Application.dll
ReviseAsync(PersonalTask, CancellationToken)
Writes what a person edited about one of their tasks.
Task<PersonalTaskChangeOutcome> ReviseAsync(PersonalTask revision, CancellationToken cancellationToken)
Parameters
revisionPersonalTaskThe task as it is to stand, which is what Revise(string, DateOnly?, TaskAnnouncement) produced.
cancellationTokenCancellationTokenCancels the read and the write.
Returns
- Task<PersonalTaskChangeOutcome>
What became of the request.
Remarks
It writes the title and the day and nothing else, and it addresses the row by the revision's own user and identity. The rest of the record moves through the acts that own it — accepting a proposal, completing a task — so a revision that carried a stale origin or completion beside the edited text could not undo either of them.
Exceptions
- ArgumentNullException
Thrown when
revisionis null.