Constructor TimeSpanSerializer
- Namespace
- MongoDB.Bson.Serialization.Serializers
- Assembly
- MongoDB.Bson.dll
TimeSpanSerializer()
Initializes a new instance of the TimeSpanSerializer class.
public TimeSpanSerializer()
TimeSpanSerializer(BsonType)
Initializes a new instance of the TimeSpanSerializer class.
public TimeSpanSerializer(BsonType representation)
Parameters
representation
BsonTypeThe representation.
TimeSpanSerializer(BsonType, TimeSpanUnits)
Initializes a new instance of the TimeSpanSerializer class.
public TimeSpanSerializer(BsonType representation, TimeSpanUnits units)
Parameters
representation
BsonTypeThe representation.
units
TimeSpanUnitsThe units.