private DeserializeRawBsonDocument ( MongoDB.Bson.IO.BsonBinaryReader bsonReader ) : |
||
bsonReader | MongoDB.Bson.IO.BsonBinaryReader | |
return |
private RawBsonDocument DeserializeRawBsonDocument(BsonBinaryReader bsonReader)
{
var slice = bsonReader.ReadRawBsonDocument();
var nestedDocument = new RawBsonDocument(slice);
_disposableItems.Add(nestedDocument);
return nestedDocument;
}