Table of Contents

Constructor DictionarySerializerBase

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

DictionarySerializerBase()

Initializes a new instance of the DictionarySerializerBase<TDictionary, TKey, TValue> class.

public DictionarySerializerBase()

DictionarySerializerBase(DictionaryRepresentation)

Initializes a new instance of the DictionarySerializerBase<TDictionary, TKey, TValue> class.

public DictionarySerializerBase(DictionaryRepresentation dictionaryRepresentation)

Parameters

dictionaryRepresentation DictionaryRepresentation

The dictionary representation.

DictionarySerializerBase(DictionaryRepresentation, IBsonSerializer<TKey>, IBsonSerializer<TValue>)

Initializes a new instance of the DictionarySerializerBase<TDictionary, TKey, TValue> class.

public DictionarySerializerBase(DictionaryRepresentation dictionaryRepresentation, IBsonSerializer<TKey> keySerializer, IBsonSerializer<TValue> valueSerializer)

Parameters

dictionaryRepresentation DictionaryRepresentation

The dictionary representation.

keySerializer IBsonSerializer<TKey>

The key serializer.

valueSerializer IBsonSerializer<TValue>

The value serializer.

DictionarySerializerBase(DictionaryRepresentation, IBsonSerializerRegistry)

Initializes a new instance of the DictionarySerializerBase<TDictionary, TKey, TValue> class.

public DictionarySerializerBase(DictionaryRepresentation dictionaryRepresentation, IBsonSerializerRegistry serializerRegistry)

Parameters

dictionaryRepresentation DictionaryRepresentation

The dictionary representation.

serializerRegistry IBsonSerializerRegistry

The serializer registry.