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
-
SerializerBase<TValue>EnumerableSerializerBase<TValue, TItem>EnumerableInterfaceImplementerSerializerBase<TValue, TItem>ReadOnlyCollectionSubclassSerializer<TValue, TItem>
- Implements
-
IBsonSerializer<TValue>
- 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.