public virtual long GetId(object obj, out bool firstTime) { throw null; } public virtual long HasId(object obj, out bool firstTime) { throw null; }
// Schedule an object for later serialization. protected virtual long Schedule(Object obj) { bool firstTime; long objID = m_idGenerator.GetId(obj, out firstTime); m_objectQueue.Enqueue(obj); return(objID); }