Table of Contents

Struct StoredFileId

Namespace
MailFathom.Application.StoredFiles
Assembly
MailFathom.Application.dll

Names one binary file a user supplied, which a record links to rather than holding the octets itself.

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

Remarks

The deployment mints it when the file is written, and nothing about the file or its owner determines it, which is what lets a record link to a file written before the record changed. Being a struct, default is reachable and names no file; it reports itself through IsSpecified.

Properties

IsSpecified

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

Value

Gets the identifier the file's row is keyed by.

Methods

Create(Guid)

Names a file by the identifier the deployment minted for it.

ToString()

Returns the fully qualified type name of this instance.