Class EnumerableInterfaceImplementerSerializerBase<TValue, TItem>
- Namespace
- MongoDB.Bson.Serialization.Serializers
- Assembly
- MongoDB.Bson.dll
Represents a serializer for enumerable values.
public abstract class EnumerableInterfaceImplementerSerializerBase<TValue, TItem> : EnumerableSerializerBase<TValue, TItem>, IBsonSerializer<TValue>, IBsonArraySerializer, IBsonSerializer where TValue : IEnumerable<TItem>
Type Parameters
TValue
The type of the value.
TItem
The type of the items.
- Inheritance
-
SerializerBase<TValue>EnumerableSerializerBase<TValue, TItem>EnumerableInterfaceImplementerSerializerBase<TValue, TItem>
- Implements
-
IBsonSerializer<TValue>
- Derived
- Inherited Members
- Extension Methods
Constructors
- EnumerableInterfaceImplementerSerializerBase()
Initializes a new instance of the EnumerableInterfaceImplementerSerializerBase<TValue, TItem> class.
- EnumerableInterfaceImplementerSerializerBase(IBsonSerializerRegistry)
Initializes a new instance of the EnumerableInterfaceImplementerSerializerBase<TValue, TItem> class.
- EnumerableInterfaceImplementerSerializerBase(IBsonSerializer<TItem>)
Initializes a new instance of the EnumerableInterfaceImplementerSerializerBase<TValue, TItem> class.
Methods
- AddItem(object, TItem)
Adds the item.
- EnumerateItemsInSerializationOrder(TValue)
Enumerates the items in serialization order.
- FinalizeResult(object)
Finalizes the result.