Class LazyBsonDocument
Represents a BSON document that is deserialized lazily.
[BsonSerializer(typeof(LazyBsonDocumentSerializer))]
public class LazyBsonDocument : MaterializedOnDemandBsonDocument, IComparable<BsonValue>, IConvertible, IEquatable<BsonValue>, IComparable<BsonDocument>, IConvertibleToBsonDocument, IEnumerable<BsonElement>, IEnumerable, IEquatable<BsonDocument>, IDisposable
- Inheritance
-
LazyBsonDocument
- Implements
- Inherited Members
- Extension Methods
Constructors
- LazyBsonDocument(IByteBuffer)
Initializes a new instance of the LazyBsonDocument class.
- LazyBsonDocument(byte[])
Initializes a new instance of the LazyBsonDocument class.
Properties
- Slice
Gets the slice.
Methods
- Clone()
Creates a shallow clone of the document (see also DeepClone).
- DeepClone()
Creates a deep clone of the document (see also Clone).
- Dispose(bool)
Releases unmanaged and - optionally - managed resources.
- Materialize()
Materializes the BsonDocument.
- MaterializeCompleted()
Informs subclasses that the Materialize process completed so they can free any resources related to the unmaterialized state.