System.Runtime.Serialization.ObjectIDGenerator.GetId C# (CSharp) 메소드

GetId() 공개 메소드

public GetId ( object obj, bool &firstTime ) : long
obj object
firstTime bool
리턴 long
        public virtual long GetId(object obj, out bool firstTime) { throw null; }
        public virtual long HasId(object obj, out bool firstTime) { throw null; }

Usage Example

예제 #1
0
파일: Formatter.cs 프로젝트: ForNeVeR/pnet
        // 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);
        }
All Usage Examples Of System.Runtime.Serialization.ObjectIDGenerator::GetId