Struct IdentifierGeneratorParams
- Namespace
- LfrlAnvil.Identifiers
- Assembly
- LfrlAnvil.Identifiers.dll
Represents parameters used for IdentifierGenerator creation.
public struct IdentifierGeneratorParams
- Inherited Members
Properties
BaseTimestamp
Gets or sets generator's BaseTimestamp. Equal to Zero by default.
public Timestamp BaseTimestamp { get; set; }
Property Value
LowValueBounds
Gets or sets generator's LowValueBounds. Equal to [MinValue, MaxValue] by default.
public Bounds<ushort> LowValueBounds { get; set; }
Property Value
LowValueOverflowStrategy
Gets or sets the current strategy for the resolution of low value overflow. Equal to Forbidden by default.
public LowValueOverflowStrategy LowValueOverflowStrategy { readonly get; set; }
Property Value
TimeEpsilon
Gets or sets generator's TimeEpsilon. Equal to 1 millisecond by default.
public Duration TimeEpsilon { get; set; }
Property Value
Methods
ToString()
Returns a string representation of this IdentifierGeneratorParams instance.
[Pure]
public override string ToString()
Returns
- string
String representation.