Class CharSerializer
- Namespace
- MongoDB.Bson.Serialization.Serializers
- Assembly
- MongoDB.Bson.dll
Represents a serializer for Chars.
public sealed class CharSerializer : StructSerializerBase<char>, IBsonSerializer<char>, IBsonSerializer, IRepresentationConfigurable<CharSerializer>, IRepresentationConfigurable, IHasRepresentationSerializer
- Inheritance
-
CharSerializer
- Implements
- Inherited Members
- Extension Methods
Constructors
- CharSerializer()
Initializes a new instance of the CharSerializer class.
- CharSerializer(BsonType)
Initializes a new instance of the CharSerializer class.
Properties
- Representation
Gets the representation.
Methods
- Deserialize(BsonDeserializationContext, BsonDeserializationArgs)
Deserializes a value.
- Equals(object)
Determines whether the specified object is equal to the current object.
- GetHashCode()
Serves as the default hash function.
- Serialize(BsonSerializationContext, BsonSerializationArgs, char)
Serializes a value.
- WithRepresentation(BsonType)
Returns a serializer that has been reconfigured with the specified representation.