Table of Contents

Class FixedCountBatchableSourceSerializer<TItem>

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

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.