Table of Contents

Method DeclareAsync

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

DeclareAsync(PresentationCitation, CancellationToken)

Declares a source the answer's blocks may name, once however often it is declared.

public Task<bool> DeclareAsync(PresentationCitation citation, CancellationToken cancellationToken)

Parameters

citation PresentationCitation

The source, under the name blocks refer to it by.

cancellationToken CancellationToken

Cancels the write.

Returns

Task<bool>

true when the source is declared, now or earlier; false when the answer is no longer being composed.

Exceptions

ArgumentNullException

Thrown when citation is null.