Class SByteSerializer
- Namespace
- MongoDB.Bson.Serialization.Serializers
- Assembly
- MongoDB.Bson.dll
Represents a serializer for SBytes.
[CLSCompliant(false)]
public class SByteSerializer : StructSerializerBase<sbyte>, IBsonSerializer<sbyte>, IBsonSerializer, IRepresentationConfigurable<SByteSerializer>, IRepresentationConfigurable, IHasRepresentationSerializer
- Inheritance
-
SByteSerializer
- Implements
- Inherited Members
- Extension Methods
Constructors
- SByteSerializer()
Initializes a new instance of the SByteSerializer class.
- SByteSerializer(BsonType)
Initializes a new instance of the SByteSerializer class.
Properties
- Representation
Gets the representation.
Methods
- Deserialize(BsonDeserializationContext, BsonDeserializationArgs)
Deserializes a value.
- Serialize(BsonSerializationContext, BsonSerializationArgs, sbyte)
Serializes a value.
- WithRepresentation(BsonType)
Returns a serializer that has been reconfigured with the specified representation.