Table of Contents

Class SizeLimitingBatchableSourceSerializer<TItem>

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

A serializer for BatchableSource that serializes as much of the BatchableSource as fits in the max batch count and size.

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

Type Parameters

TItem

The type of the items.

Inheritance
SizeLimitingBatchableSourceSerializer<TItem>
Implements
Inherited Members

Constructors

SizeLimitingBatchableSourceSerializer(IBsonSerializer<TItem>, IElementNameValidator, int, int, int)

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

Methods

Equals(object)
GetHashCode()
Serialize(BsonSerializationContext, BsonSerializationArgs, BatchableSource<TItem>)

Serializes a value.