Table of Contents

Class ValueTupleSerializer<T1>

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

Represents a serializer for a ValueTuple<T1>.

public sealed class ValueTupleSerializer<T1> : StructSerializerBase<ValueTuple<T1>>, IBsonSerializer<ValueTuple<T1>>, IBsonSerializer, IBsonTupleSerializer

Type Parameters

T1

The type of item 1.

Inheritance
ValueTupleSerializer<T1>
Implements
Inherited Members
Extension Methods

Constructors

ValueTupleSerializer()

Initializes a new instance of the ValueTupleSerializer<T1> class.

ValueTupleSerializer(IBsonSerializerRegistry)

Initializes a new instance of the ValueTupleSerializer<T1> class.

ValueTupleSerializer(IBsonSerializer<T1>)

Initializes a new instance of the ValueTupleSerializer<T1> class.

Properties

Item1Serializer

Gets the Item1 serializer.

Methods

Deserialize(BsonDeserializationContext, BsonDeserializationArgs)

Deserializes a value.

Equals(object)
GetHashCode()
GetItemSerializer(int)

Gets ths serializer for an item.

Serialize(BsonSerializationContext, BsonSerializationArgs, ValueTuple<T1>)

Serializes a value.