Table of Contents

Struct AgentConversationId

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

Identifies one Agent conversation for as long as the person whose conversation it is keeps it.

public readonly record struct AgentConversationId : IEquatable<AgentConversationId>
Implements
Inherited Members

Remarks

A conversation is durable rather than held for the length of a run, so this outlives every process that wrote into it and is what a history entry, a read, and a deletion all address. It is a version 7 UUID, so the entries it leads the key of land together as a conversation grows. A client holds it and presents it back, and what refuses somebody else's is the owner check beside it rather than the identifier being hard to know — ADR 0036 holds why.

Properties

Value

Gets the non-empty UUID value.

Methods

Create(Guid)

Creates a conversation identifier from a non-empty UUID, which is how one arrives back off the wire.

New()

Creates an identifier for a conversation nothing has started yet.

ToString()

Returns the fully qualified type name of this instance.