Table of Contents

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

Timestamp

Methods

GetTimestamp(Identifier)

Extracts a Timestamp used to create the provided id.

[Pure]
Timestamp GetTimestamp(Identifier id)

Parameters

id Identifier

Identifier to extract Timestamp from.

Returns

Timestamp

New Timestamp instance.