Table of Contents

Class Int32Serializer

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

Represents a serializer for Int32.

public class Int32Serializer : StructSerializerBase<int>, IBsonSerializer<int>, IBsonSerializer, IRepresentationConfigurable<Int32Serializer>, IRepresentationConfigurable, IHasRepresentationSerializer, IRepresentationConverterConfigurable<Int32Serializer>, IRepresentationConverterConfigurable
Inheritance
Int32Serializer
Implements
Inherited Members
Extension Methods

Constructors

Int32Serializer()

Initializes a new instance of the Int32Serializer class.

Int32Serializer(BsonType)

Initializes a new instance of the Int32Serializer class.

Int32Serializer(BsonType, RepresentationConverter)

Initializes a new instance of the Int32Serializer class.

Properties

Converter

Gets the converter.

Instance

Gets a cached instance of an Int32Serializer;

Representation

Gets the representation.

Methods

Deserialize(BsonDeserializationContext, BsonDeserializationArgs)

Deserializes a value.

Serialize(BsonSerializationContext, BsonSerializationArgs, int)

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.