ValueTupleSerializerT1 Class |
Namespace: MongoDB.Bson.Serialization.Serializers
public sealed class ValueTupleSerializer<T1> : StructSerializerBase<(T1 )>, IBsonTupleSerializer
The ValueTupleSerializerT1 type exposes the following members.
Name | Description | |
---|---|---|
ValueTupleSerializerT1 |
Initializes a new instance of the ValueTupleSerializerT1 class.
| |
ValueTupleSerializerT1(IBsonSerializerT1) |
Initializes a new instance of the ValueTupleSerializerT1 class.
| |
ValueTupleSerializerT1(IBsonSerializerRegistry) |
Initializes a new instance of the ValueTupleSerializerT1 class.
|
Name | Description | |
---|---|---|
Item1Serializer |
Gets the Item1 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.) |