Click or drag to resize

ProjectionValueProducerFunc Delegate

Delegate definition which is used by IProjector and projection engines. The delegate is used to produce a single value out of one or more values in the object array passed into the projection engine.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax
public delegate Object ProjectionValueProducerFunc(
	Object[] values,
	int[] indices
)

Parameters

values
Type: SystemObject
The values to project.
indices
Type: SystemInt32
The list of indices inside values. The delegate has to refer to these indices to obtain values from values

Return Value

Type: Object
the value to use for the projection.
Remarks
Used by Linq to produce values from projections using local functions. Also usable by .NET 2.0 developers, although with slightly more coding.
See Also