Skip to main content

ICustomAggregateConvertibleToExpression Methods

Implemented by custom aggregate functions that can be converted to a LINQ expression.
Name Description
Convert(ICriteriaToExpressionConverter, Expression, ParameterExpression, Expression[]) When implemented by a custom aggregate function, converts it to a Linq expression.
CreateEvaluationContext() An object that stores the result’s intermediate state between the Process(Object, Object[]) method calls. Inherited from ICustomAggregate.
GetResult(Object) Gets a custom aggregate function‘s result. Inherited from ICustomAggregate.
Process(Object, Object[]) Is called to process every element of a collection supplied to a custom aggregate function. Inherited from ICustomAggregate.
ResultType(Type[]) When implememnted by a custom aggregate function, determines its return value type based on the type of aggregate function parameters. Inherited from ICustomAggregate.
See Also