public static MongoId GenerateNewId() { return(GenerateNewId(MongoIdTimer.GetTimestampFromDateTime(DateTime.UtcNow))); }
public static MongoId GenerateNewId(DateTime timestamp) { return(GenerateNewId(MongoIdTimer.GetTimestampFromDateTime(timestamp))); }
public MongoId(DateTime timestamp, int machine, short pid, int increment) : this(MongoIdTimer.GetTimestampFromDateTime(timestamp), machine, pid, increment) { }