Table of Contents

Struct ClientSignalKind

Namespace
MailFathom.Application.Signals
Assembly
MailFathom.Application.dll

Names one thing a deployment tells an open client has changed.

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

Remarks

A closed enumeration rather than a C# enum, because the name is the published identity: a client keys its handler by it, a second delivery channel will render the same names for a person, and a numeric member value would mean nothing outside this assembly. Renaming a member therefore breaks a contract loudly rather than silently changing what a wire value means.

Being a struct, default is reachable and names nothing; IsSpecified reports it, and ClientSignal's factories are the only way a signal is composed, so no unspecified kind reaches a channel.

Properties

AccountState

Gets the kind raised when a run finished, failed, or found the mailbox unreachable.

All

Gets every kind this deployment publishes.

FoldersChanged

Gets the kind raised when the folder set itself moved.

IsSpecified

Gets whether this value names a kind rather than the unusable struct default.

MailArrived

Gets the kind raised when a synchronization run committed mail.

MailChanged

Gets the kind raised when mail was moved or deleted remotely, keywords moved, or a pending change settled.

MailFlagsChanged

Gets the kind raised when nothing about mail moved except the \Seen or \Flagged flag of one or more messages.

Name

Gets the name a client keys its handler by.

NotificationRaised

Gets the kind raised when a notification record was written.

RunAdvanced

Gets the kind raised when a running AI answer has had more written — a Discover run's, or an Agent conversation's.

Methods

ToString()

Returns the fully qualified type name of this instance.