Table of Contents

Class Decimal128Serializer

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

Represents a serializer for Decimal128s.

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

Decimal128Instance

Gets a cached instance of a Decimal128Serializer with Decimal128 representation.

Representation

Gets the representation.

Methods

Deserialize(BsonDeserializationContext, BsonDeserializationArgs)

Deserializes a value.

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.