Constructor DictionarySerializerBase
- Namespace
- MongoDB.Bson.Serialization.Serializers
- Assembly
- MongoDB.Bson.dll
DictionarySerializerBase()
Initializes a new instance of the DictionarySerializerBase<TDictionary> class.
public DictionarySerializerBase()
DictionarySerializerBase(DictionaryRepresentation)
Initializes a new instance of the DictionarySerializerBase<TDictionary> class.
public DictionarySerializerBase(DictionaryRepresentation dictionaryRepresentation)
Parameters
dictionaryRepresentation
DictionaryRepresentationThe dictionary representation.
DictionarySerializerBase(DictionaryRepresentation, IBsonSerializer, IBsonSerializer)
Initializes a new instance of the DictionarySerializerBase<TDictionary> class.
public DictionarySerializerBase(DictionaryRepresentation dictionaryRepresentation, IBsonSerializer keySerializer, IBsonSerializer valueSerializer)
Parameters
dictionaryRepresentation
DictionaryRepresentationThe dictionary representation.
keySerializer
IBsonSerializerThe key serializer.
valueSerializer
IBsonSerializerThe value serializer.