Inheritance: BsonArray, IDisposable
 public void Dispose()
 {
     if (A != null)
     {
         A.Dispose();
         A = null;
     }
 }
Exemplo n.º 2
0
        private LazyBsonArray DeserializeLazyBsonArray(BsonBinaryReader bsonReader)
        {
            var slice       = bsonReader.ReadRawBsonArray();
            var nestedArray = new LazyBsonArray(slice);

            _disposableItems.Add(nestedArray);
            return(nestedArray);
        }
 private LazyBsonArray DeserializeLazyBsonArray(BsonBinaryReader bsonReader)
 {
     var slice = bsonReader.ReadRawBsonArray();
     var nestedArray = new LazyBsonArray(slice);
     _disposableItems.Add(nestedArray);
     return nestedArray;
 }