상속: BsonArray, IDisposable
 public void Dispose()
 {
     if (A != null)
     {
         A.Dispose();
         A = null;
     }
 }
예제 #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;
 }