Table of Contents

Class ReadOnlyCollectionSubclassSerializer<TValue, TItem>

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

Represents a serializer for a subclass of ReadOnlyCollection.

public sealed class ReadOnlyCollectionSubclassSerializer<TValue, TItem> : EnumerableInterfaceImplementerSerializerBase<TValue, TItem>, IBsonSerializer<TValue>, IBsonArraySerializer, IBsonSerializer where TValue : ReadOnlyCollection<TItem>

Type Parameters

TValue

The type of the value.

TItem

The type of the item.

Inheritance
ReadOnlyCollectionSubclassSerializer<TValue, TItem>
Implements
Inherited Members
Extension Methods

Constructors

ReadOnlyCollectionSubclassSerializer()

Initializes a new instance of the ReadOnlyCollectionSubclassSerializer<TValue, TItem> class.

ReadOnlyCollectionSubclassSerializer(IBsonSerializerRegistry)

Initializes a new instance of the ReadOnlyCollectionSubclassSerializer<TValue, TItem> class.

ReadOnlyCollectionSubclassSerializer(IBsonSerializer<TItem>)

Initializes a new instance of the ReadOnlyCollectionSubclassSerializer<TValue, TItem> class.

Methods

CreateAccumulator()

Creates the accumulator.

FinalizeResult(object)

Finalizes the result.