As subject, how to combine two expressions into a single one for this case:
Expression<Func<IEnumerable<T>, IEnumerable<T>>> exp1;
Expression<Func<IEnumerable<T>, IEnumerable<T>>> exp2;
Expression<Func<IEnumerable<T>, IEnumerable<T>>> result = ???; // exp1(exp2)
This is really just a specific form of combining two
Expression<Func<T, T>>
values. Here's an example of doing that:You could write
ApplySequence
in those terms easily, if you wanted to: