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