ValueTupleSerializerT1, T2, T3 Class |
Namespace: MongoDB.Bson.Serialization.Serializers
public sealed class ValueTupleSerializer<T1, T2, T3> : StructSerializerBase<(T1 , T2 , T3 )>, IBsonTupleSerializer
The ValueTupleSerializerT1, T2, T3 type exposes the following members.
Name | Description | |
---|---|---|
ValueTupleSerializerT1, T2, T3 |
Initializes a new instance of the ValueTupleSerializerT1, T2, T3 class.
| |
ValueTupleSerializerT1, T2, T3(IBsonSerializerRegistry) |
Initializes a new instance of the ValueTupleSerializerT1, T2, T3 class.
| |
ValueTupleSerializerT1, T2, T3(IBsonSerializerT1, IBsonSerializerT2, IBsonSerializerT3) |
Initializes a new instance of the ValueTupleSerializerT1, T2, T3 class.
|
Name | Description | |
---|---|---|
Item1Serializer |
Gets the Item1 serializer.
| |
Item2Serializer |
Gets the Item2 serializer.
| |
Item3Serializer |
Gets the Item3 serializer.
| |
ValueType |
Gets the type of the values.
(Inherited from SerializerBaseTValue.) |
Name | Description | |
---|---|---|
Deserialize |
Deserializes a value.
(Overrides SerializerBaseTValueDeserialize(BsonDeserializationContext, BsonDeserializationArgs).) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetItemSerializer |
Gets ths serializer for an item.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Serialize |
Serializes a value.
(Overrides SerializerBaseTValueSerialize(BsonSerializationContext, BsonSerializationArgs, TValue).) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
ToBson |
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.) | |
ToBsonDocument |
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.) | |
ToJson |
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.) |