Class ValueTupleSerializer<T1, T2, T3, T4, T5, T6, T7, TRest>
- Namespace
- MongoDB.Bson.Serialization.Serializers
- Assembly
- MongoDB.Bson.dll
Represents a serializer for a ValueTuple<T1, T2, T3, T4, T5, T6, T7, TRest>.
public sealed class ValueTupleSerializer<T1, T2, T3, T4, T5, T6, T7, TRest> : StructSerializerBase<ValueTuple<T1, T2, T3, T4, T5, T6, T7, TRest>>, IBsonSerializer<ValueTuple<T1, T2, T3, T4, T5, T6, T7, TRest>>, IBsonSerializer, IBsonTupleSerializer where TRest : struct
Type Parameters
T1
The type of item 1.
T2
The type of item 2.
T3
The type of item 3.
T4
The type of item 4.
T5
The type of item 5.
T6
The type of item 6.
T7
The type of item 7.
TRest
The type of the rest item.
- Inheritance
-
SerializerBase<ValueTuple<T1, T2, T3, T4, T5, T6, T7, TRest>>StructSerializerBase<ValueTuple<T1, T2, T3, T4, T5, T6, T7, TRest>>ValueTupleSerializer<T1, T2, T3, T4, T5, T6, T7, TRest>
- Implements
-
IBsonSerializer<ValueTuple<T1, T2, T3, T4, T5, T6, T7, TRest>>
- Inherited Members
- Extension Methods
Constructors
- ValueTupleSerializer()
Initializes a new instance of the ValueTupleSerializer<T1, T2, T3, T4, T5, T6, T7, TRest> class.
- ValueTupleSerializer(IBsonSerializerRegistry)
Initializes a new instance of the ValueTupleSerializer<T1, T2, T3, T4, T5, T6, T7, TRest> class.
- 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.
Properties
- Item1Serializer
Gets the Item1 serializer.
- Item2Serializer
Gets the Item2 serializer.
- Item3Serializer
Gets the Item3 serializer.
- Item4Serializer
Gets the Item4 serializer.
- Item5Serializer
Gets the Item5 serializer.
- Item6Serializer
Gets the Item6 serializer.
- Item7Serializer
Gets the Item7 serializer.
- RestSerializer
Gets the Rest serializer.
Methods
- Deserialize(BsonDeserializationContext, BsonDeserializationArgs)
Deserializes a value.
- GetItemSerializer(int)
Gets ths serializer for an item.