Inheritance: BsonArray, IDisposable
Beispiel #1
0
        private RawBsonArray DeserializeRawBsonArray(IBsonReader bsonReader)
        {
            var slice       = bsonReader.ReadRawBsonArray();
            var nestedArray = new RawBsonArray(slice);

            _disposableItems.Add(nestedArray);
            return(nestedArray);
        }
 public void Dispose()
 {
     if (A != null)
     {
         A.Dispose();
         A = null;
     }
 }
 private RawBsonArray DeserializeRawBsonArray(IBsonReader bsonReader)
 {
     var slice = bsonReader.ReadRawBsonArray();
     var nestedArray = new RawBsonArray(slice);
     _disposableItems.Add(nestedArray);
     return nestedArray;
 }