Ejemplo n.º 1
0
 // constructors
 internal JsonReaderBookmark(
     BsonReaderState state,
     BsonType currentBsonType,
     string currentName,
     JsonReaderContext context,
     JsonToken currentToken,
     BsonValue currentValue,
     JsonToken pushedToken,
     int position)
     : base(state, currentBsonType, currentName)
 {
     _context = context.Clone();
     _currentToken = currentToken;
     _currentValue = currentValue;
     _pushedToken = pushedToken;
     _position = position;
 }
Ejemplo n.º 2
0
 // constructors
 internal JsonReaderBookmark(
     BsonReaderState state,
     BsonType currentBsonType,
     string currentName,
     JsonReaderContext context,
     JsonToken currentToken,
     BsonValue currentValue,
     JsonToken pushedToken,
     int position)
     : base(state, currentBsonType, currentName)
 {
     _context      = context.Clone();
     _currentToken = currentToken;
     _currentValue = currentValue;
     _pushedToken  = pushedToken;
     _position     = position;
 }
Ejemplo n.º 3
0
 internal JsonReaderContext(JsonReaderContext parentContext, ContextType contextType)
 {
     _parentContext = parentContext;
     _contextType   = contextType;
 }
Ejemplo n.º 4
0
 internal JsonReaderContext(JsonReaderContext parentContext, ContextType contextType)
 {
     _parentContext = parentContext;
     _contextType = contextType;
 }