Table of Contents

Class SizeLimitingBatchableSourceSerializer<TItem>

Namespace
MongoDB.Driver.Core.Misc
Assembly
MongoDB.Driver.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)

Determines whether the specified object is equal to the current object.

GetHashCode()

Serves as the default hash function.

Serialize(BsonSerializationContext, BsonSerializationArgs, BatchableSource<TItem>)

Serializes a value.