Fork me on GitHubEpicdominant domains
APIEpic.Query.Linq.Expressions.NormalizationEnumerableMethodsReducer

EnumerableMethodsReducer
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

Assembly: Epic.Query.Linq

Declaration Syntax
C#
public sealed class EnumerableMethodsReducer : CompositeVisitor<(Of <(<'TResult>)>)>..::..VisitorBase, 
	IVisitor<Expression, MethodCallExpression>, IVisitor<Expression>
Members
All MembersConstructorsMethods   



MemberDescription
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).
blog comments powered by Disqus