Table of Contents

Constructor AgentActionProposed

Namespace
MailFathom.Application.Agent.Conversations
Assembly
MailFathom.Application.dll

AgentActionProposed(AgentMessageId, PresentationBlock, AgentProposedAct)

The answer offers the person something to do, which nothing does until they say so.

public AgentActionProposed(AgentMessageId MessageId, PresentationBlock Block, AgentProposedAct Act)

Parameters

MessageId AgentMessageId

The answer being composed.

Block PresentationBlock

The block presenting the offer, which is one the person acts on.

Act AgentProposedAct

What accepting the offer carries out, stated exactly enough that nothing has to be asked again.

Remarks

A proposal is a block and is addressed by its place. The catalogue already says which types a person acts on, so nothing here invents a second shape for an offer; what this entry adds is that the offer is answerable, and the sequence it was written under is the name the answer to it is recorded against. That is also what lets the same offer be made twice in one conversation — at two places, with two outcomes — which is exactly what proposing another time is.

It records the offer and never the carrying out of one. What an accepted action then did belongs to whatever performs it, and reaches this record only as the state the proposal ends in.

The act travels with the block rather than being read back out of it. A block says what a person needs to see, and an act says what is done — which account a message leaves from, which message a reply answers. Keeping both on the one entry is what makes accepting the offer perform exactly what was offered.

Exceptions

ArgumentNullException

Thrown when Block or Act is null.

ArgumentException

Thrown when the block is one a person only reads, which is composed rather than proposed.