Class SizeLimitingBatchableSourceSerializer

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

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

Implements

Inherited Members

Constructors

SizeLimitingBatchableSourceSerializer(IBsonSerializer, IElementNameValidator, int, int, int)

Initializes a new instance of the SizeLimitingBatchableSourceSerializer 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)

Serializes a value.