18 private int _nextIdentity;
29 if (current >= _nextIdentity)
31 _nextIdentity = current + 1;
36 return _nextIdentity++;
Used by the root object in a graph to manage the object instance identity values for the graph.
int GetNextIdentity(int current)
Gets and consumes the next available unique identity value for an object instance in the object graph...