Class ChangeStreamDocumentSerializer<TDocument>
A serializer for ChangeStreamDocument instances.
public class ChangeStreamDocumentSerializer<TDocument> : BsonDocumentBackedClassSerializer<ChangeStreamDocument<TDocument>>, IBsonSerializer<ChangeStreamDocument<TDocument>>, IBsonDocumentSerializer, IBsonSerializer
Type Parameters
TDocument
The type of the document.
- Inheritance
-
SerializerBase<ChangeStreamDocument<TDocument>>ClassSerializerBase<ChangeStreamDocument<TDocument>>ChangeStreamDocumentSerializer<TDocument>
- Implements
-
IBsonSerializer<ChangeStreamDocument<TDocument>>
- Inherited Members
Constructors
- ChangeStreamDocumentSerializer(IBsonSerializer<TDocument>)
Initializes a new instance of the ChangeStreamDocumentSerializer<TDocument> class.
Methods
- CreateInstance(BsonDocument)
Creates the instance.
- Deserialize(BsonDeserializationContext, BsonDeserializationArgs)
Deserializes a value.
- Equals(object)
Determines whether the specified object is equal to the current object.
- GetHashCode()
Serves as the default hash function.