Class DoubleSerializer
- Namespace
- MongoDB.Bson.Serialization.Serializers
- Assembly
- MongoDB.Bson.dll
Represents a serializer for Doubles.
public sealed class DoubleSerializer : StructSerializerBase<double>, IBsonSerializer<double>, IBsonSerializer, IRepresentationConfigurable<DoubleSerializer>, IRepresentationConfigurable, IHasRepresentationSerializer, IRepresentationConverterConfigurable<DoubleSerializer>, IRepresentationConverterConfigurable
- Inheritance
-
DoubleSerializer
- Implements
- Inherited Members
- Extension Methods
Constructors
- DoubleSerializer()
Initializes a new instance of the DoubleSerializer class.
- DoubleSerializer(BsonType)
Initializes a new instance of the DoubleSerializer class.
- DoubleSerializer(BsonType, RepresentationConverter)
Initializes a new instance of the DoubleSerializer class.
Properties
- Converter
Gets the converter.
- Instance
Gets a cached instance of DoubleSerializer;
- Representation
Gets the representation.
Methods
- Deserialize(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.
- Serialize(BsonSerializationContext, BsonSerializationArgs, double)
Serializes a value.
- WithConverter(RepresentationConverter)
Returns a serializer that has been reconfigured with the specified item serializer.
- WithRepresentation(BsonType)
Returns a serializer that has been reconfigured with the specified representation.