Worker TModel, TItem  CreateBatchPredicateCore Method TIBCO Spotfire 6.0 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: 13.19.7018.3940 (13.19.7018.3940)
Syntax

protected virtual Predicate<TItem> CreateBatchPredicateCore(
	TItem firstWorkItem
)

Parameters

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

Return Value

Type: Predicate TItem 
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.
See Also