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
MessageIdAgentMessageIdThe answer being composed.
BlockPresentationBlockThe block presenting the offer, which is one the person acts on.
ActAgentProposedActWhat 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
BlockorActis null.- ArgumentException
Thrown when the block is one a person only reads, which is composed rather than proposed.