Table of Contents

Struct MailDraftAttachmentId

Namespace
MailFathom.Domain.Delivery.Drafts
Assembly
MailFathom.Domain.dll

Identifies one file staged against a draft, for as long as that draft holds it.

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

Remarks

It is a surrogate rather than the file's name, because a name is the author's and two files an author attached may share one. What removes a staged file therefore names this, so an author who attached the same name twice removes the one they meant rather than whichever the ordering happened to put first.

Properties

Value

Gets the non-empty UUID value.

Methods

Create(Guid)

Creates a staged-file identifier from a non-empty UUID.

ToString()

Returns the fully qualified type name of this instance.