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
- representationBsonType
- The representation. 
TimeSpanSerializer(BsonType, TimeSpanUnits)
Initializes a new instance of the TimeSpanSerializer class.
public TimeSpanSerializer(BsonType representation, TimeSpanUnits units)Parameters
- representationBsonType
- The representation. 
- unitsTimeSpanUnits
- The units.