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
ValueuintActual value.
Fields
First
Gets the definition of the first generation.
public static readonly ReadModelGeneration First
Field Value
FirstValue
Gets the underlying value of the first generation.
public const uint FirstValue = 1
Field Value
Unspecified
Gets the definition of the first generation.
public static readonly ReadModelGeneration Unspecified
Field Value
Operators
implicit operator ReadModelGeneration(string)
Implicitly convert from ReadModelGeneration to string.
public static implicit operator ReadModelGeneration(string generation)
Parameters
generationstringReadModelGeneration to convert from.
Returns
implicit operator ReadModelGeneration(uint)
Implicitly convert from uint to ReadModelGeneration.
public static implicit operator ReadModelGeneration(uint generation)