Inheritance: AggregateFunctionExpressionBuilderBase
コード例 #1
0
 /// <summary>
 /// Creates the aggregate expression using <see cref="EnumerableSelectorAggregateFunctionExpressionBuilder"/>.
 /// </summary>
 /// <param name="enumerableExpression">The grouping expression.</param>
 /// <param name="liftMemberAccessToNull"></param>
 /// <returns></returns>
 public override Expression CreateAggregateExpression(Expression enumerableExpression, bool liftMemberAccessToNull)
 {
     var builder = new EnumerableSelectorAggregateFunctionExpressionBuilder(enumerableExpression, this);
     builder.Options.LiftMemberAccessToNull = liftMemberAccessToNull;
     return builder.CreateAggregateExpression();
 }
コード例 #2
0
 /// <summary>
 /// Creates the aggregate expression using <see cref="EnumerableSelectorAggregateFunctionExpressionBuilder"/>.
 /// </summary>
 /// <param name="enumerableExpression">The grouping expression.</param>
 /// <returns></returns>
 public override Expression CreateAggregateExpression(Expression enumerableExpression)
 {
     var builder = new EnumerableSelectorAggregateFunctionExpressionBuilder(enumerableExpression, this);
     return builder.CreateAggregateExpression();
 }