Table of Contents

Class AgentProposedAction

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

Something the answer offered the person, and where that offer stands.

public sealed record AgentProposedAction : IEquatable<AgentProposedAction>
Inheritance
AgentProposedAction
Implements
Inherited Members

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.

Constructors

AgentProposedAction(long, PresentationBlock, AgentProposalState)

Something the answer offered the person, and where that offer stands.

Properties

Block

The block presenting the offer.

ProposedAt

The place in the conversation the offer was written at, which is what names it.

State

Where it stands, which is pending until something is recorded against it.