Class SizeLimitingBatchableSourceSerializer<TItem>
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
-
SerializerBase<BatchableSource<TItem>>SizeLimitingBatchableSourceSerializer<TItem>
- Implements
-
IBsonSerializer<BatchableSource<TItem>>
- 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.