Table of Contents

Class TypeMappingSerializationProvider

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

Represents a serialization provider based on a mapping from value types to serializer types.

public sealed class TypeMappingSerializationProvider : BsonSerializationProviderBase, IRegistryAwareBsonSerializationProvider, IBsonSerializationProvider
Inheritance
TypeMappingSerializationProvider
Implements
Inherited Members
Extension Methods

Constructors

TypeMappingSerializationProvider()

Initializes a new instance of the TypeMappingSerializationProvider class.

Methods

GetSerializer(Type, IBsonSerializerRegistry)

Gets a serializer for a type.

RegisterMapping(Type, Type)

Registers the serializer mapping.