MongoDB.Bson.Serialization NamespaceMongoDB C# Driver API Documentation
The MongoDB.Bson.Serialization namespace contains the types used in the serialization and deserialization of Bson data. It also contains the base interfaces to be implemented by the actual serializers.
Classes

  ClassDescription
Public classBsonClassMap
Represents a mapping between a class and a BSON document.
Public classBsonClassMapTClass
Represents a mapping between a class and a BSON document.
Public classBsonClassMapSerializer
Represents a serializer for a class map.
Public classBsonCreatorMap
Represents a mapping to a delegate and its arguments.
Public classBsonDocumentBackedClass
A class backed by a BsonDocument.
Public classBsonDocumentBackedClassSerializerTClass
Represents a serializer for TClass (a subclass of BsonDocumentBackedClass).
Public classBsonMemberMap
Represents the mapping between a field or property and a BSON element.
Public classBsonMemberMapAttributeUsageAttribute
Indicates the usage restrictions for the attribute.
Public classBsonSerializationInfo
Represents the information needed to serialize a member.
Public classBsonSerializer
A static class that represents the BSON serialization functionality.
Public classCreatorMapDelegateCompiler
A helper class used to create and compile delegates for creator maps.
Public classExpressionVisitor
An abstract base class for an Expression visitor.
Public classTypeNameDiscriminator
Supports using type names as discriminators.
Interfaces

  InterfaceDescription
Public interfaceIBsonArraySerializer
Contract for serializers to implement if they serialize an array of items.
Public interfaceIBsonClassMapAttribute
Represents an attribute used to modify a class map.
Public interfaceIBsonClassMapModifier Obsolete.
Represents an attribute used to modify a class map.
Public interfaceIBsonCreatorMapAttribute
Represents an attribute used to modify a creator map.
Public interfaceIBsonDocumentSerializer
Contract for composite serializers that contain a number of named serializers.
Public interfaceIBsonIdProvider
Contract for serializers that can get and set Id values.
Public interfaceIBsonMemberMapAttribute
Represents an attribute used to modify a member map.
Public interfaceIBsonMemberMapModifier Obsolete.
Represents an attribute used to modify a member map.
Public interfaceIBsonPostProcessingAttribute
Represents an attribute used to post process a class map.
Public interfaceIBsonSerializable
An interface implemented by classes that handle their own BSON serialization.
Public interfaceIBsonSerializationOptions
A marker interface that represents serialization options.
Public interfaceIBsonSerializationProvider
An interface implemented by serialization providers.
Public interfaceIBsonSerializer
An interface implemented by BSON serializers.
Public interfaceIIdGenerator
An interface implemented by Id generators.