Table of Contents

Class ReadModelGeneration

Namespace
Cratis.Chronicle.ReadModels
Assembly
Cratis.Chronicle.dll

Represents the generation of a read model.

public record ReadModelGeneration : ConceptAs<uint>, IComparable<ConceptAs<uint>>, IComparable<uint>, IComparable, IEquatable<ConceptAs<uint>>, IEquatable<ReadModelGeneration>
Inheritance
ReadModelGeneration
Implements
Inherited Members

Constructors

ReadModelGeneration(uint)

Represents the generation of a read model.

public ReadModelGeneration(uint Value)

Parameters

Value uint

Actual value.

Fields

First

Gets the definition of the first generation.

public static readonly ReadModelGeneration First

Field Value

ReadModelGeneration

FirstValue

Gets the underlying value of the first generation.

public const uint FirstValue = 1

Field Value

uint

Unspecified

Gets the definition of the first generation.

public static readonly ReadModelGeneration Unspecified

Field Value

ReadModelGeneration

Operators

implicit operator ReadModelGeneration(string)

Implicitly convert from ReadModelGeneration to string.

public static implicit operator ReadModelGeneration(string generation)

Parameters

generation string

ReadModelGeneration to convert from.

Returns

ReadModelGeneration

implicit operator ReadModelGeneration(uint)

Implicitly convert from uint to ReadModelGeneration.

public static implicit operator ReadModelGeneration(uint generation)

Parameters

generation uint

uint to convert from.

Returns

ReadModelGeneration