Table of Contents

Class VersionSerializer

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

Represents a serializer for Versions.

public sealed 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.

Equals(object)

Determines whether the specified object is equal to the current object.

GetHashCode()

Serves as the default hash function.

SerializeValue(BsonSerializationContext, BsonSerializationArgs, Version)

Serializes a value.

WithRepresentation(BsonType)

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