Class ReadOnlyDictionaryInterfaceImplementerSerializer<TDictionary, TKey, TValue>

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

Namespace

MongoDB.Bson.Serialization.Serializers

Assembly

MongoDB.Bson.dll

public sealed class ReadOnlyDictionaryInterfaceImplementerSerializer<TDictionary, TKey, TValue> : DictionarySerializerBase<TDictionary, TKey, TValue>, IBsonSerializer<TDictionary>, IBsonArraySerializer, IBsonDocumentSerializer, IBsonSerializer, IBsonDictionarySerializer, IChildSerializerConfigurable, IMultipleChildSerializersConfigurable, IDictionaryRepresentationConfigurable<ReadOnlyDictionaryInterfaceImplementerSerializer<TDictionary, TKey, TValue>>, IDictionaryRepresentationConfigurable where TDictionary : class, IReadOnlyDictionary<TKey, TValue>

Type Parameters

TDictionary

The type of the dictionary.

TKey

The type of the key.

TValue

The type of the value.

Inheritance

ReadOnlyDictionaryInterfaceImplementerSerializer<TDictionary, TKey, TValue>

Implements

Inherited Members

Extension Methods

Constructors

ReadOnlyDictionaryInterfaceImplementerSerializer()

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

ReadOnlyDictionaryInterfaceImplementerSerializer(DictionaryRepresentation)

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

ReadOnlyDictionaryInterfaceImplementerSerializer(DictionaryRepresentation, IBsonSerializer, IBsonSerializer)

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

Methods

CreateAccumulator()

Creates an accumulator.

FinalizeAccumulator(ICollection<KeyValuePair<TKey, TValue>>)

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