Table of Contents

Class TickIdGenerator

Namespace
Ecng.Common
Assembly
Ecng.Common.dll

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

public class TickIdGenerator : IdGenerator
Inheritance
TickIdGenerator
Inherited Members
Extension Methods

Constructors

TickIdGenerator()

public TickIdGenerator()

Methods

GetNextId()

Gets the next identifier based on the current UTC ticks.

public override long GetNextId()

Returns

long

The current UTC ticks.