Table of Contents

Method ComposeAsync

Namespace
MailFathom.Application.Agent.Answering
Assembly
MailFathom.Application.dll

ComposeAsync(PresentationBlock, CancellationToken)

Writes a block of the answer, every source of which has to be declared already.

public Task<bool> ComposeAsync(PresentationBlock block, CancellationToken cancellationToken)

Parameters

block PresentationBlock

The block, which the person only reads.

cancellationToken CancellationToken

Cancels the write.

Returns

Task<bool>

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

Exceptions

ArgumentNullException

Thrown when block is null.

ArgumentException

Thrown when the block names a source nothing declared, or is one a person acts on.