Table of Contents

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 BsonType

The representation.

TimeSpanSerializer(BsonType, TimeSpanUnits)

Initializes a new instance of the TimeSpanSerializer class.

public TimeSpanSerializer(BsonType representation, TimeSpanUnits units)

Parameters

representation BsonType

The representation.

units TimeSpanUnits

The units.