Class BsonNullSerializer
- Namespace
- MongoDB.Bson.Serialization.Serializers
- Assembly
- MongoDB.Bson.dll
Represents a serializer for BsonNulls.
public sealed class BsonNullSerializer : BsonValueSerializerBase<BsonNull>, IBsonSerializer<BsonNull>, IBsonSerializer
- Inheritance
-
BsonNullSerializer
- Implements
- Inherited Members
- Extension Methods
Constructors
- BsonNullSerializer()
Initializes a new instance of the BsonNullSerializer class.
Properties
- Instance
Gets an instance of the BsonNullSerializer class.
Methods
- DeserializeValue(BsonDeserializationContext, BsonDeserializationArgs)
Deserializes a value.
- SerializeValue(BsonSerializationContext, BsonSerializationArgs, BsonNull)
Serializes a value.