Visits a MethodCallExpression and returns a ConstantExpression containing the corresponding value,
or the target itself when it can not be reduced.
Assembly: Epic.Query.Linq
Declaration Syntax
C# |
public Expression Visit( MethodCallExpression target, IVisitContext context )
Parameters
- target (MethodCallExpression)
- Expression to visit.
- context (IVisitContext)
- Context of the visit.
Return Value
The reduced expression or target, as appropriate.