Table of Contents

Class FixedCountBatchableSourceSerializer<TItem>

Namespace
MongoDB.Driver.Core.Misc
Assembly
MongoDB.Driver.Core.dll

A serializer for BatchableSource that serializes a fixed count of items.

public class FixedCountBatchableSourceSerializer<TItem> : SerializerBase<BatchableSource<TItem>>, IBsonSerializer<BatchableSource<TItem>>, IBsonSerializer

Type Parameters

TItem

The type of the items.

Inheritance
FixedCountBatchableSourceSerializer<TItem>
Implements
Inherited Members

Constructors

FixedCountBatchableSourceSerializer(IBsonSerializer<TItem>, IElementNameValidator, int)

Initializes a new instance of the FixedCountBatchableSourceSerializer<TItem> class.

Methods

Serialize(BsonSerializationContext, BsonSerializationArgs, BatchableSource<TItem>)

Serializes a value.