Class UInt64Serializer
- Namespace
- MongoDB.Bson.Serialization.Serializers
- Assembly
- MongoDB.Bson.dll
Represents a serializer for UInt64s.
[CLSCompliant(false)]
public class UInt64Serializer : StructSerializerBase<ulong>, IBsonSerializer<ulong>, IBsonSerializer, IRepresentationConfigurable<UInt64Serializer>, IRepresentationConfigurable, IHasRepresentationSerializer, IRepresentationConverterConfigurable<UInt64Serializer>, IRepresentationConverterConfigurable
- Inheritance
-
UInt64Serializer
- Implements
- Inherited Members
- Extension Methods
Constructors
- UInt64Serializer()
Initializes a new instance of the UInt64Serializer class.
- UInt64Serializer(BsonType)
Initializes a new instance of the UInt64Serializer class.
- UInt64Serializer(BsonType, RepresentationConverter)
Initializes a new instance of the UInt64Serializer class.
Properties
- Converter
Gets the converter.
- Representation
Gets the representation.
Methods
- Deserialize(BsonDeserializationContext, BsonDeserializationArgs)
Deserializes a value.
- Serialize(BsonSerializationContext, BsonSerializationArgs, ulong)
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.