Class EnumerableInterfaceImplementerSerializer<TValue, TItem>

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

Namespace

MongoDB.Bson.Serialization.Serializers

Assembly

MongoDB.Bson.dll

Represents a serializer for a class that implementes IEnumerable.

public sealed class EnumerableInterfaceImplementerSerializer<TValue, TItem> : EnumerableInterfaceImplementerSerializerBase<TValue, TItem>, IBsonSerializer<TValue>, IBsonArraySerializer, IBsonSerializer, IChildSerializerConfigurable where TValue : 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)

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

Methods

CreateAccumulator()

Creates the accumulator.

FinalizeResult(object)

Finalizes the result.

WithItemSerializer(IBsonSerializer)

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