private static AggregationFunc ToSumFunc(IProjection projection) { var aggregationResultClass = projection.GetTypes(null, null)[0].ReturnedClass; return(AggregationUtil.GetSumFunc(aggregationResultClass)); }
public void TestSum() { VerifyAggregateListExitOperation(AggregationUtil.GetSumFunc(typeof(int)), data, new object[] { 11 }, "Sum"); }