Table of Contents

Class VersionSerializer

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

Represents a serializer for Versions.

public class VersionSerializer : SealedClassSerializerBase<Version>, IBsonSerializer<Version>, IBsonSerializer, IRepresentationConfigurable<VersionSerializer>, IRepresentationConfigurable, IHasRepresentationSerializer
Inheritance
VersionSerializer
Implements
Inherited Members
Extension Methods

Constructors

VersionSerializer()

Initializes a new instance of the VersionSerializer class.

VersionSerializer(BsonType)

Initializes a new instance of the VersionSerializer class.

Properties

Representation

Gets the representation.

Methods

DeserializeValue(BsonDeserializationContext, BsonDeserializationArgs)

Deserializes a value.

SerializeValue(BsonSerializationContext, BsonSerializationArgs, Version)

Serializes a value.

WithRepresentation(BsonType)

Returns a serializer that has been reconfigured with the specified representation.