Table of Contents

Class ChangeStreamOperationTypeSerializer

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Core.dll

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 BsonDeserializationContext

The deserialization context.

args BsonDeserializationArgs

The 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 BsonSerializationContext

The serialization context.

args BsonSerializationArgs

The serialization args.

value ChangeStreamOperationType

The value.