Namespace MongoDB.Bson.Serialization
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
- Attributed
Serialization Provider Provides serializers based on an attribute.
- Bson
Class Map Represents a mapping between a class and a BSON document.
- BsonClassMapSerializer<TClass>
Represents a serializer for a class map.
- BsonClassMap<TClass>
Represents a mapping between a class and a BSON document.
- Bson
Creator Map Represents a mapping to a delegate and its arguments.
- Bson
Deserialization Context Represents all the contextual information needed by a serializer to deserialize a value.
- Bson
Deserialization Context. Builder Represents a builder for a BsonDeserializationContext.
- Bson
Document Backed Class A class backed by a BsonDocument.
- BsonDocumentBackedClassSerializer<TClass>
Represents a serializer for TClass (a subclass of BsonDocumentBackedClass).
- Bson
Member Map Represents the mapping between a field or property and a BSON element.
- Bson
Member Map Attribute Usage Attribute Indicates the usage restrictions for the attribute.
- Bson
Object Model Serialization Provider Provides serializers for BsonValue and its derivations.
- Bson
Serialization Context Represents all the contextual information needed by a serializer to serialize a value.
- Bson
Serialization Context. Builder Represents a builder for a BsonSerializationContext.
- Bson
Serialization Info Represents the information needed to serialize a member.
- Bson
Serialization Provider Base Base class for serialization providers.
- Bson
Serializer A static class that represents the BSON serialization functionality.
- Bson
Serializer Registry Default, global implementation of an IBson
Serializer .Registry
- Collections
Serialization Provider Provides serializers for collections.
- Creator
Map Delegate Compiler A helper class used to create and compile delegates for creator maps.
- Discriminated
Interface Serialization Provider Provides a serializer for interfaces.
- Expression
Visitor An abstract base class for an Expression visitor.
- IBson
Serializer Extensions Extensions methods for IBsonSerializer.
- Primitive
Serialization Provider Provides serializers for primitive types.
- Type
Mapping Serialization Provider Represents a serialization provider based on a mapping from value types to serializer types.
- Type
Name Discriminator Supports using type names as discriminators.
Structs
- Bson
Deserialization Args Represents args common to all serializers.
- Bson
Serialization Args Represents args common to all serializers.
Interfaces
- IBson
Array Serializer Contract for serializers to implement if they serialize an array of items.
- IBson
Class Map Attribute Represents an attribute used to modify a class map.
- IBson
Creator Map Attribute Represents an attribute used to modify a creator map.
- IBson
Dictionary Serializer Represents a dictionary serializer that can be used in LINQ queries.
- IBson
Document Serializer Contract for composite serializers that contain a number of named serializers.
- IBson
IdProvider Contract for serializers that can get and set Id values.
- IBson
Member Map Attribute Represents an attribute used to modify a member map.
- IBson
Polymorphic Serializer An interface implemented by a polymorphic serializer.
- IBson
Post Processing Attribute Represents an attribute used to post process a class map.
- IBson
Serialization Provider An interface implemented by serialization providers.
- IBson
Serializer An interface implemented by a serializer.
- IBson
Serializer Registry A serializer registry.
- IBsonSerializer<TValue>
An interface implemented by a serializer for values of type TValue.
- IChild
Serializer Configurable Represents a serializer that has a child serializer that configuration attributes can be forwarded to.
- IDictionary
Representation Configurable Represents a serializer that has a DictionaryRepresentation property.
- IDictionaryRepresentationConfigurable<TSerializer>
Represents a serializer that has a DictionaryRepresentation property.
- IHas
Representation Serializer Represents a serializer that has a Representation property.
- IId
Generator An interface implemented by Id generators.
- IRegistry
Aware Bson Serialization Provider An interface implemented by serialization providers that are aware of registries.
- IRepresentation
Configurable Represents a serializer whose representation can be configured.
- IRepresentationConfigurable<TSerializer>
Represents a serializer that has a Representation property.
- IRepresentation
Converter Configurable Represents a serializer that has a representation converter.
- IRepresentationConverterConfigurable<TSerializer>
Represents a serializer that has a representation converter.