Table of Contents

Enum AgentProposalState

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

Where one proposed action stands.

[JsonConverter(typeof(JsonStringEnumConverter<AgentProposalState>))]
public enum AgentProposalState

Fields

Accepted = 1

The person approved it, which is what allows it to be carried out.

Declined = 3

The person refused it, and nothing was done.

Failed = 2

It was approved and carrying it out did not work.

Pending = 0

Nobody has answered it yet, and the controls are still offered.

Remarks

Four values rather than three, because Failed is not a way of declining: it is what an action the person did approve became when carrying it out did not work. Folding the two would tell somebody who pressed the control that nothing was done for the same reason as somebody who pressed nothing, and the two owe different answers — one of them is offered the attempt again.

Pending is the state of a proposal nothing has been recorded against, so it is never written: the record holds a resolution or it does not, and the absence is what this member names when the conversation is read back. That is also what lets the same proposal be offered a second time at a later place in the conversation without the first offer's outcome following it.