ValueTupleSerializer<T1> Class |
Namespace: MongoDB.Bson.Serialization.Serializers
public sealed class ValueTupleSerializer<T1> : StructSerializerBase<(T1 )>, IBsonTupleSerializer
The ValueTupleSerializer<T1> type exposes the following members.
Name | Description | |
---|---|---|
![]() | ValueTupleSerializer<T1>() |
Initializes a new instance of the ValueTupleSerializer<T1> class.
|
![]() | ValueTupleSerializer<T1>(IBsonSerializer<T1>) |
Initializes a new instance of the ValueTupleSerializer<T1> class.
|
![]() | ValueTupleSerializer<T1>(IBsonSerializerRegistry) |
Initializes a new instance of the ValueTupleSerializer<T1> class.
|
Name | Description | |
---|---|---|
![]() | Item1Serializer |
Gets the Item1 serializer.
|
![]() | ValueType |
Gets the type of the values.
(Inherited from SerializerBase<TValue>.) |
Name | Description | |
---|---|---|
![]() | Deserialize |
Deserializes a value.
(Overrides SerializerBase<TValue>.Deserialize(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 SerializerBase<TValue>.Serialize(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.) |