Table of Contents

Class Int64Serializer

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

Represents a serializer for Int64s.

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

Constructors

Int64Serializer()

Initializes a new instance of the Int64Serializer class.

Int64Serializer(BsonType)

Initializes a new instance of the Int64Serializer class.

Int64Serializer(BsonType, RepresentationConverter)

Initializes a new instance of the Int64Serializer class.

Properties

Converter

Gets the converter.

Instance

Gets a cached instance of an Int64Serializer;

Representation

Gets the representation.

Methods

Deserialize(BsonDeserializationContext, BsonDeserializationArgs)

Deserializes a value.

Equals(object)
GetHashCode()
Serialize(BsonSerializationContext, BsonSerializationArgs, long)

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.