Table of Contents

Class CharSerializer

Namespace
MongoDB.Bson.Serialization.Serializers
Assembly
MongoDB.Bson.dll

Represents a serializer for Chars.

public 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)
GetHashCode()
Serialize(BsonSerializationContext, BsonSerializationArgs, char)

Serializes a value.

WithRepresentation(BsonType)

Returns a serializer that has been reconfigured with the specified representation.