Class DictionaryInterfaceImplementerSerializer<TDictionary, TKey, TValue>

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Bson.Serialization.Serializers

Assembly

MongoDB.Bson.dll

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

TDictionary

The type of the dictionary.

TKey

The type of the key.

TValue

The type of the value.

Inheritance

DictionaryInterfaceImplementerSerializer<TDictionary, TKey, TValue>

Implements

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, IBsonSerializer)

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, 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.