WorkerTModel, TItemCreateBatchPredicateCore Method

Spotfire 14.3 API Reference
Override to customize how work items are selected for batch work. The default implementation returns null, which selects all work items.

Namespace:  Spotfire.Dxp.Framework.Threading
Assembly:  Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax

C#
protected virtual Predicate<TItem> CreateBatchPredicateCore(
	TItem firstWorkItem
)

Parameters

firstWorkItem
Type: TItem
The first work item already included in the batch.

Return Value

Type: PredicateTItem
A predicate that shall return true for work items to be included in the batch.
Remarks

The predicate is called at most MaxBatchSize - 1 times, and only for work items that have the same model generation as firstWorkItem.
Version Information

Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also

Reference