System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Schedule C# (CSharp) Method

Schedule() private method

private Schedule ( object obj, bool assignUniqueIdToValueType, Type type, WriteObjectInfo objectInfo ) : long
obj object
assignUniqueIdToValueType bool
type System.Type
objectInfo WriteObjectInfo
return long
        private long Schedule(object obj, bool assignUniqueIdToValueType, Type type, WriteObjectInfo objectInfo)
        {
            long id = 0;
            if (obj != null)
            {
                bool isNew;
                id = InternalGetId(obj, assignUniqueIdToValueType, type, out isNew);
                if (isNew && id > 0)
                {
                    _objectQueue.Enqueue(objectInfo ?? obj);
                }
            }
            return id;
        }

Same methods

ObjectWriter::Schedule ( object obj, bool assignUniqueIdToValueType, Type type ) : long