Table of Contents

Constructor ValueTupleSerializer

Namespace
MongoDB.Bson.Serialization.Serializers
Assembly
MongoDB.Bson.dll

ValueTupleSerializer()

Initializes a new instance of the ValueTupleSerializer<T1, T2, T3, T4, T5, T6, T7, TRest> class.

public ValueTupleSerializer()

ValueTupleSerializer(IBsonSerializer<T1>, IBsonSerializer<T2>, IBsonSerializer<T3>, IBsonSerializer<T4>, IBsonSerializer<T5>, IBsonSerializer<T6>, IBsonSerializer<T7>, IBsonSerializer<TRest>)

Initializes a new instance of the ValueTupleSerializer<T1, T2, T3, T4, T5, T6, T7, TRest> class.

public ValueTupleSerializer(IBsonSerializer<T1> item1Serializer, IBsonSerializer<T2> item2Serializer, IBsonSerializer<T3> item3Serializer, IBsonSerializer<T4> item4Serializer, IBsonSerializer<T5> item5Serializer, IBsonSerializer<T6> item6Serializer, IBsonSerializer<T7> item7Serializer, IBsonSerializer<TRest> restSerializer)

Parameters

item1Serializer IBsonSerializer<T1>

The Item1 serializer.

item2Serializer IBsonSerializer<T2>

The Item2 serializer.

item3Serializer IBsonSerializer<T3>

The Item3 serializer.

item4Serializer IBsonSerializer<T4>

The Item4 serializer.

item5Serializer IBsonSerializer<T5>

The Item5 serializer.

item6Serializer IBsonSerializer<T6>

The Item6 serializer.

item7Serializer IBsonSerializer<T7>

The Item7 serializer.

restSerializer IBsonSerializer<TRest>

The Rest serializer.

ValueTupleSerializer(IBsonSerializerRegistry)

Initializes a new instance of the ValueTupleSerializer<T1, T2, T3, T4, T5, T6, T7, TRest> class.

public ValueTupleSerializer(IBsonSerializerRegistry serializerRegistry)

Parameters

serializerRegistry IBsonSerializerRegistry

The serializer registry.