Class ChangeStreamOperationTypeSerializer
A serializer for ChangeStreamOperationType values.
public class ChangeStreamOperationTypeSerializer : StructSerializerBase<ChangeStreamOperationType>, IBsonSerializer<ChangeStreamOperationType>, IBsonSerializer
- Inheritance
-
ChangeStreamOperationTypeSerializer
- Implements
- Inherited Members
Properties
Instance
Gets a ChangeStreamOperationTypeSerializer.
public static ChangeStreamOperationTypeSerializer Instance { get; }
Property Value
- ChangeStreamOperationTypeSerializer
A ChangeStreamOperationTypeSerializer.
Methods
Deserialize(BsonDeserializationContext, BsonDeserializationArgs)
Deserializes a value.
public override ChangeStreamOperationType Deserialize(BsonDeserializationContext context, BsonDeserializationArgs args)
Parameters
context
BsonDeserializationContextThe deserialization context.
args
BsonDeserializationArgsThe deserialization args.
Returns
- ChangeStreamOperationType
A deserialized value.
Serialize(BsonSerializationContext, BsonSerializationArgs, ChangeStreamOperationType)
Serializes a value.
public override void Serialize(BsonSerializationContext context, BsonSerializationArgs args, ChangeStreamOperationType value)
Parameters
context
BsonSerializationContextThe serialization context.
args
BsonSerializationArgsThe serialization args.
value
ChangeStreamOperationTypeThe value.