Reduces any MethodCallExpression that would operate over
an IQueryable that has been evaluated.
Inheritance Hierarchy
| Object | ||
| CompositeVisitor<(Of <(<'TResult>)>)>..::..VisitorBase | ||
| QueryableMethodsReducer | ||
Assembly: Epic.Query.Linq
Declaration Syntax
| C# |
public sealed class QueryableMethodsReducer : CompositeVisitor<(Of <(<'TResult>)>)>..::..VisitorBase, IVisitor<Expression, MethodCallExpression>, IVisitor<Expression>
Members
| All Members | Constructors | Methods | |||
| Member | Description | |
|---|---|---|
| QueryableMethodsReducer(CompositeVisitor<(Of <<'(Expression>)>>)) |
Initializes a new instance of the
QueryableMethodsReducer class.
| |
| AsVisitor<(Of <<'(TExpression>)>>)(TExpression) |
Return itself as a visitor for target if it is
a MethodCallExpression containing a method of Queryable.
(Overrides CompositeVisitor<(Of <(<'TResult>)>)>..::..VisitorBase.AsVisitor<(Of <<'(TExpression>)>>)(TExpression).) | |
| Visit(MethodCallExpression, IVisitContext) |
Visit target and return its evaluation in a ConstantExpression
when its source has been evaluated.
|
