Table of Contents

Class Decimal128Serializer

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

Represents a serializer for Decimal128s.

public sealed class Decimal128Serializer : StructSerializerBase<Decimal128>, IBsonSerializer<Decimal128>, IBsonSerializer, IRepresentationConfigurable<Decimal128Serializer>, IRepresentationConfigurable, IHasRepresentationSerializer, IRepresentationConverterConfigurable<Decimal128Serializer>, IRepresentationConverterConfigurable
Inheritance
Decimal128Serializer
Implements
Inherited Members
Extension Methods

Constructors

Decimal128Serializer()

Initializes a new instance of the Decimal128Serializer class.

Decimal128Serializer(BsonType)

Initializes a new instance of the Decimal128Serializer class.

Decimal128Serializer(BsonType, RepresentationConverter)

Initializes a new instance of the Decimal128Serializer class.

Properties

Converter

Gets the converter.

Instance

Gets a cached instance of a Decimal128Serializer with Decimal128 representation.

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, Decimal128)

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.