Constructor TupleSerializer
- Namespace
- MongoDB.Bson.Serialization.Serializers
- Assembly
- MongoDB.Bson.dll
TupleSerializer()
Initializes a new instance of the TupleSerializer<T1, T2> class.
public TupleSerializer()
TupleSerializer(IBsonSerializer<T1>, IBsonSerializer<T2>)
Initializes a new instance of the TupleSerializer<T1, T2> class.
public TupleSerializer(IBsonSerializer<T1> item1Serializer, IBsonSerializer<T2> item2Serializer)
Parameters
item1Serializer
IBsonSerializer<T1>The Item1 serializer.
item2Serializer
IBsonSerializer<T2>The Item2 serializer.
TupleSerializer(IBsonSerializerRegistry)
Initializes a new instance of the TupleSerializer<T1, T2> class.
public TupleSerializer(IBsonSerializerRegistry serializerRegistry)
Parameters
serializerRegistry
IBsonSerializerRegistryThe serializer registry.