Class DictionaryInterfaceImplementerSerializer<TDictionary>
- Namespace
 - MongoDB.Bson.Serialization.Serializers
 
- Assembly
 - MongoDB.Bson.dll
 
Represents a serializer for a class that implements IDictionary.
public sealed class DictionaryInterfaceImplementerSerializer<TDictionary> : DictionarySerializerBase<TDictionary>, IBsonSerializer<TDictionary>, IBsonDocumentSerializer, IBsonSerializer, IBsonDictionarySerializer, IChildSerializerConfigurable, IMultipleChildSerializersConfigurable, IDictionaryRepresentationConfigurable where TDictionary : class, IDictionary, new()
  Type Parameters
TDictionaryThe type of the dictionary.
- Inheritance
 - 
      
      SerializerBase<TDictionary>ClassSerializerBase<TDictionary>DictionarySerializerBase<TDictionary>DictionaryInterfaceImplementerSerializer<TDictionary>
 
- Implements
 - 
      IBsonSerializer<TDictionary>
 
- Inherited Members
 
- Extension Methods
 
Constructors
- DictionaryInterfaceImplementerSerializer()
 Initializes a new instance of the DictionaryInterfaceImplementerSerializer<TDictionary> class.
- DictionaryInterfaceImplementerSerializer(DictionaryRepresentation)
 Initializes a new instance of the DictionaryInterfaceImplementerSerializer<TDictionary> class.
- DictionaryInterfaceImplementerSerializer(DictionaryRepresentation, IBsonSerializer, IBsonSerializer)
 Initializes a new instance of the DictionaryInterfaceImplementerSerializer<TDictionary> class.
Methods
- CreateInstance()
 Creates the instance.
- WithDictionaryRepresentation(DictionaryRepresentation)
 Returns a serializer that has been reconfigured with the specified dictionary representation.
- WithDictionaryRepresentation(DictionaryRepresentation, IBsonSerializer, IBsonSerializer)
 Returns a serializer that has been reconfigured with the specified dictionary representation and key value serializers.
- WithKeySerializer(IBsonSerializer)
 Returns a serializer that has been reconfigured with the specified key serializer.
- WithValueSerializer(IBsonSerializer)
 Returns a serializer that has been reconfigured with the specified value serializer.