Table of Contents

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

block PresentationBlock

The block presenting the offer.

act AgentProposedAct

What accepting it carries out.

cancellationToken CancellationToken

Cancels the write.

Returns

Task<bool>

true when the offer was written; false when the answer is no longer being composed.

Exceptions

ArgumentNullException

Thrown when block or act is null.

ArgumentException

Thrown when the block names a source nothing declared, or is one a person only reads.