Method ProposeAsync
- Namespace
- MailFathom.Application.Agent.Answering
- Assembly
- MailFathom.Application.dll
ProposeAsync(PresentationBlock, AgentProposedAct, CancellationToken)
Offers the person something to do, which nothing does until they accept it.
public Task<bool> ProposeAsync(PresentationBlock block, AgentProposedAct act, CancellationToken cancellationToken)
Parameters
blockPresentationBlockThe block presenting the offer.
actAgentProposedActWhat accepting it carries out.
cancellationTokenCancellationTokenCancels the write.
Returns
Exceptions
- ArgumentNullException
Thrown when
blockoractis null.- ArgumentException
Thrown when the block names a source nothing declared, or is one a person only reads.