Table of Contents

Class BsonObjectIdSerializer

Namespace
MongoDB.Bson.Serialization.Serializers
Assembly
MongoDB.Bson.dll

Represents a serializer for BsonObjectIds.

public class BsonObjectIdSerializer : BsonValueSerializerBase<BsonObjectId>, IBsonSerializer<BsonObjectId>, IBsonSerializer
Inheritance
BsonObjectIdSerializer
Implements
Inherited Members
Extension Methods

Constructors

BsonObjectIdSerializer()

Initializes a new instance of the BsonObjectIdSerializer class.

Properties

Instance

Gets an instance of the BsonObjectIdSerializer class.

Methods

DeserializeValue(BsonDeserializationContext, BsonDeserializationArgs)

Deserializes a value.

SerializeValue(BsonSerializationContext, BsonSerializationArgs, BsonObjectId)

Serializes a value.