WorkerTModel, TItemCreateBatchPredicateCore Method TIBCO Spotfire 7.6 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: 25.11.10401.3615 (25.11.10401.3615)
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: 7.6, 7.5, 7.0, 6.5, 6.0, 5.5, 5.0
See Also

Reference