Constructor AgentProposedAction
- Namespace
- MailFathom.Application.Agent.Conversations
- Assembly
- MailFathom.Application.dll
AgentProposedAction(long, PresentationBlock, AgentProposalState)
Something the answer offered the person, and where that offer stands.
public AgentProposedAction(long ProposedAt, PresentationBlock Block, AgentProposalState State)
Parameters
ProposedAtlongThe place in the conversation the offer was written at, which is what names it.
BlockPresentationBlockThe block presenting the offer.
StateAgentProposalStateWhere it stands, which is pending until something is recorded against it.
Remarks
Read out of the record rather than stored as a thing of its own: the offer is the entry that was written when the answer composed it, and the state is whatever the newest entry answering it says. That is what lets the same offer be made twice in one conversation — declining one and proposing another time writes a second offer at a second place, and the two carry their own outcomes because they carry their own places.
Nothing here says the action was carried out. An accepted proposal is one this record permits to be carried out; what happened next reaches the record only as Failed, or not at all.