ValueTupleSerializerT1, T2, T3, T4, T5 Class |
Namespace: MongoDB.Bson.Serialization.Serializers
public sealed class ValueTupleSerializer<T1, T2, T3, T4, T5> : StructSerializerBase<(T1 , T2 , T3 , T4 , T5 )>, IBsonTupleSerializer
The ValueTupleSerializerT1, T2, T3, T4, T5 type exposes the following members.
Name | Description | |
---|---|---|
ValueTupleSerializerT1, T2, T3, T4, T5 |
Initializes a new instance of the ValueTupleSerializerT1, T2, T3, T4, T5 class.
| |
ValueTupleSerializerT1, T2, T3, T4, T5(IBsonSerializerRegistry) |
Initializes a new instance of the ValueTupleSerializerT1, T2, T3, T4, T5 class.
| |
ValueTupleSerializerT1, T2, T3, T4, T5(IBsonSerializerT1, IBsonSerializerT2, IBsonSerializerT3, IBsonSerializerT4, IBsonSerializerT5) |
Initializes a new instance of the ValueTupleSerializerT1, T2, T3, T4, T5 class.
|
Name | Description | |
---|---|---|
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.
| |
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.) |