Reduce MethodCallExpression expressing methods of Enumerable to either their equivalent value
or an equivalent call to the Queryable methods (when the source is actually a queryable and we can translate all the arguments).
Inheritance Hierarchy
Object | ||
CompositeVisitor<(Of <(<'TResult>)>)>..::..VisitorBase | ||
EnumerableMethodsReducer |
Assembly: Epic.Query.Linq
Declaration Syntax
C# |
public sealed class EnumerableMethodsReducer : CompositeVisitor<(Of <(<'TResult>)>)>..::..VisitorBase, IVisitor<Expression, MethodCallExpression>, IVisitor<Expression>
Members
All Members | Constructors | Methods | |||
Member | Description | |
---|---|---|
EnumerableMethodsReducer(CompositeVisitor<(Of <<'(Expression>)>>)) |
Initializes a new instance of the
EnumerableMethodsReducer class.
| |
AsVisitor<(Of <<'(TExpression>)>>)(TExpression) |
Return the current instance as a visitor of target if it's a MethodCallExpression
related to any Enumerable's method.
(Overrides CompositeVisitor<(Of <(<'TResult>)>)>..::..VisitorBase.AsVisitor<(Of <<'(TExpression>)>>)(TExpression).) | |
Visit(MethodCallExpression, IVisitContext) |
Visit the specified expression, reducing all MethodCallExpression expressing methods of Enumerable to either their equivalent value
or an equivalent call to the Queryable methods (when the source is actually a queryable and we can translate all the arguments).
|