Class UInt32Serializer
- Namespace
- MongoDB.Bson.Serialization.Serializers
- Assembly
- MongoDB.Bson.dll
Represents a serializer for UInt32s.
[CLSCompliant(false)]
public sealed class UInt32Serializer : StructSerializerBase<uint>, IBsonSerializer<uint>, IBsonSerializer, IRepresentationConfigurable<UInt32Serializer>, IRepresentationConfigurable, IHasRepresentationSerializer, IRepresentationConverterConfigurable<UInt32Serializer>, IRepresentationConverterConfigurable
- Inheritance
-
UInt32Serializer
- Implements
- Inherited Members
- Extension Methods
Constructors
- UInt32Serializer()
Initializes a new instance of the UInt32Serializer class.
- UInt32Serializer(BsonType)
Initializes a new instance of the UInt32Serializer class.
- UInt32Serializer(BsonType, RepresentationConverter)
Initializes a new instance of the UInt32Serializer class.
Properties
- Converter
Gets the converter.
- 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, uint)
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.