Table of Contents

Struct ContactDisplayName

Namespace
MailFathom.Domain.Contacts
Assembly
MailFathom.Domain.dll

Names the person a contact is about, the way the owner who wrote them down recognizes them.

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

Remarks

The owner's casing is kept, because the value exists to be read and Anna Kowalska is not ANNA KOWALSKA to the person who wrote it. What a listing is ordered by is SortKey instead, a comparison form derived here so the order a page is walked in is decided by one rule rather than by the collation of a database MailFathom does not control.

This is personal data. Nothing logs it, records it as a metric dimension, or writes it into a failure message; ContactId is what a failure names.

Fields

MaximumLength

The greatest length a contact's name may carry.

Properties

SortKey

Gets the comparison form a listing is ordered and paginated by.

Value

Gets the name as the owner wrote it, trimmed.

Methods

Create(string)

Creates a contact name from text an owner supplied.

ToString()

Returns the fully qualified type name of this instance.