Table of Contents

Class EnumerableInterfaceImplementerSerializer<TValue, TItem>

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

Represents a serializer for a class that implementes IEnumerable<T>.

public sealed class EnumerableInterfaceImplementerSerializer<TValue, TItem> : EnumerableInterfaceImplementerSerializerBase<TValue, TItem>, IBsonSerializer<TValue>, IBsonArraySerializer, IBsonSerializer, IChildSerializerConfigurable where TValue : class, IEnumerable<TItem>

Type Parameters

TValue

The type of the value.

TItem

The type of the item.

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

Constructors

EnumerableInterfaceImplementerSerializer()

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

EnumerableInterfaceImplementerSerializer(IBsonSerializerRegistry)

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

EnumerableInterfaceImplementerSerializer(IBsonSerializer<TItem>)

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

Methods

CreateAccumulator()

Creates the accumulator.

FinalizeResult(object)

Finalizes the result.

WithItemSerializer(IBsonSerializer<TItem>)

Returns a serializer that has been reconfigured with the specified item serializer.