private LazyBsonDocument DeserializeLazyBsonDocument(BsonBinaryReader bsonReader) { var slice = bsonReader.ReadRawBsonDocument(); var nestedDocument = new LazyBsonDocument(slice); _disposableItems.Add(nestedDocument); return(nestedDocument); }
private LazyBsonDocument DeserializeLazyBsonDocument(BsonBinaryReader bsonReader) { var slice = bsonReader.ReadRawBsonDocument(); var nestedDocument = new LazyBsonDocument(slice); _disposableItems.Add(nestedDocument); return nestedDocument; }