Class BsonDocumentWrapper
Represents a BsonDocument wrapper.
public class BsonDocumentWrapper : MaterializedOnDemandBsonDocument, IComparable<BsonValue>, IConvertible, IEquatable<BsonValue>, IComparable<BsonDocument>, IConvertibleToBsonDocument, IEnumerable<BsonElement>, IEnumerable, IEquatable<BsonDocument>, IDisposable
- Inheritance
-
BsonDocumentWrapper
- Implements
- Inherited Members
- Extension Methods
Constructors
- BsonDocumentWrapper(object)
Initializes a new instance of the BsonDocumentWrapper class.
- BsonDocumentWrapper(object, IBsonSerializer)
Initializes a new instance of the BsonDocumentWrapper class.
Properties
- Serializer
Gets the serializer.
- Wrapped
Gets the wrapped value.
Methods
- Clone()
Creates a shallow clone of the document (see also DeepClone).
- Create(Type, object)
Creates a new instance of the BsonDocumentWrapper class.
- CreateMultiple(Type, IEnumerable)
Creates a list of new instances of the BsonDocumentWrapper class.
- CreateMultiple<TNominalType>(IEnumerable<TNominalType>)
Creates a list of new instances of the BsonDocumentWrapper class.
- Create<TNominalType>(TNominalType)
Creates a new instance of the BsonDocumentWrapper class.
- Materialize()
Materializes the BsonDocument.
- MaterializeCompleted()
Informs subclasses that the Materialize process completed so they can free any resources related to the unmaterialized state.