Interface IIdentifierGenerator
- Namespace
- LfrlAnvil.Identifiers
- Assembly
- LfrlAnvil.Identifiers.dll
Represents a generator of Identifier instances.
public interface IIdentifierGenerator : IGenerator<Identifier>, IGenerator
- Inherited Members
Properties
BaseTimestamp
Timestamp of the first possible Identifier created by this generator.
Timestamp BaseTimestamp { get; }
Property Value
Methods
GetTimestamp(Identifier)
Extracts a Timestamp used to create the provided id
.
[Pure]
Timestamp GetTimestamp(Identifier id)
Parameters
id
IdentifierIdentifier to extract Timestamp from.