Table of Contents

Class UserSettingsDocumentVersion

Namespace
MailFathom.Infrastructure.Persistence.Users
Assembly
MailFathom.Infrastructure.dll

The version one user's record stands at, read without the record itself.

public sealed record UserSettingsDocumentVersion : IEquatable<UserSettingsDocumentVersion>
Inheritance
UserSettingsDocumentVersion
Implements
Inherited Members

Remarks

The versions of the policies governing the user travel with it, because what a replica serves somebody is their record resolved through those policies: a composition is out of date when any of the three has moved, and a policy write moves no record's version.

Constructors

UserSettingsDocumentVersion(UserId, long)

The version one user's record stands at, read without the record itself.

Properties

DeploymentPolicyVersion

Gets the version the deployment's settings policy stands at, which is zero where it stores none.

OrganizationPolicyVersion

Gets the version the settings policy of the user's organization stands at, which is zero where that organization stores none or the user belongs to none.

User

The user the record belongs to.

Version

The version the record's last commit produced.