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