TickIdGenerator

Ecng.Common

Identifier generator that uses the current UTC ticks as the identifier.

Inherits: IdGenerator

Methods

GetNextId
public override long GetNextId()
result = tickIdGenerator.GetNextId()

Gets the next identifier based on the current UTC ticks.

Returns: The current UTC ticks.