Class TupleSerializer<T1, T2, T3, T4, T5>
- Namespace
 - MongoDB.Bson.Serialization.Serializers
 
- Assembly
 - MongoDB.Bson.dll
 
Represents a serializer for a Tuple<T1, T2, T3, T4, T5>.
public sealed class TupleSerializer<T1, T2, T3, T4, T5> : SealedClassSerializerBase<Tuple<T1, T2, T3, T4, T5>>, IBsonSerializer<Tuple<T1, T2, T3, T4, T5>>, IBsonSerializer, IBsonTupleSerializer
  Type Parameters
T1The type of item 1.
T2The type of item 2.
T3The type of item 3.
T4The type of item 4.
T5The type of item 5.
- Inheritance
 - 
      
      SerializerBase<Tuple<T1, T2, T3, T4, T5>>SealedClassSerializerBase<Tuple<T1, T2, T3, T4, T5>>TupleSerializer<T1, T2, T3, T4, T5>
 
- Implements
 - 
      IBsonSerializer<Tuple<T1, T2, T3, T4, T5>>
 
- Inherited Members
 
- Extension Methods
 
Constructors
- TupleSerializer()
 Initializes a new instance of the TupleSerializer<T1, T2, T3, T4, T5> class.
- TupleSerializer(IBsonSerializerRegistry)
 Initializes a new instance of the TupleSerializer<T1, T2, T3, T4, T5> class.
- TupleSerializer(IBsonSerializer<T1>, IBsonSerializer<T2>, IBsonSerializer<T3>, IBsonSerializer<T4>, IBsonSerializer<T5>)
 Initializes a new instance of the TupleSerializer<T1, T2, T3, T4, T5> 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.
Methods
- DeserializeValue(BsonDeserializationContext, BsonDeserializationArgs)
 Deserializes a class.
- Equals(object)
 Determines whether the specified object is equal to the current object.
- GetHashCode()
 Serves as the default hash function.
- GetItemSerializer(int)
 Gets ths serializer for an item.
- SerializeValue(BsonSerializationContext, BsonSerializationArgs, Tuple<T1, T2, T3, T4, T5>)
 Serializes a value of type {TValue}.