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.ORMSupportClassesAssembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
Syntax public delegate Object ProjectionValueProducerFunc(
Object[] values,
int[] indices
)
Public Delegate Function ProjectionValueProducerFunc (
values As Object(),
indices As Integer()
) As Object
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