Class BsonValueCSharpNullSerializer<TBsonValue>
- Namespace
- MongoDB.Bson.Serialization.Serializers
- Assembly
- MongoDB.Bson.dll
Represents a serializer for a BsonValue that can round trip C# null.
public class BsonValueCSharpNullSerializer<TBsonValue> : SerializerBase<TBsonValue>, IBsonSerializer<TBsonValue>, IBsonSerializer where TBsonValue : BsonValue
Type Parameters
TBsonValue
The type of the BsonValue.
- Inheritance
-
SerializerBase<TBsonValue>BsonValueCSharpNullSerializer<TBsonValue>
- Implements
-
IBsonSerializer<TBsonValue>
- Derived
- Inherited Members
- Extension Methods
Constructors
- BsonValueCSharpNullSerializer(IBsonSerializer<TBsonValue>)
Initializes a new instance of the BsonValueCSharpNullSerializer<TBsonValue> class.
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, TBsonValue)
Serializes a value.