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