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