private int _index; // used when contextType is Array

        // constructors
        internal BsonBinaryWriterContext(
            BsonBinaryWriterContext parentContext,
            ContextType contextType,
            int startPosition)
        {
            _parentContext = parentContext;
            _contextType = contextType;
            _startPosition = startPosition;
        }
Beispiel #2
0
        private int _index; // used when contextType is Array

        // constructors
        internal BsonBinaryWriterContext(
            BsonBinaryWriterContext parentContext,
            ContextType contextType,
            int startPosition)
        {
            _parentContext = parentContext;
            _contextType   = contextType;
            _startPosition = startPosition;
        }