Fork me on GitHubEpicdominant domains

PartialEvaluator
Replace tree branches that can be evaluated with their value (in a ConstantExpression).
Inheritance Hierarchy

Assembly: Epic.Query.Linq

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



MemberDescription
PartialEvaluator(CompositeVisitor<(Of <<'(Expression>)>>))
Initializes a new instance of the PartialEvaluator class.
Visit(MemberExpression, IVisitContext)
Visits a MemberExpression and returns a ConstantExpression containing the corresponding value, or the target itself when it can not be reduced.
Visit(MethodCallExpression, IVisitContext)
Visits a MethodCallExpression and returns a ConstantExpression containing the corresponding value, or the target itself when it can not be reduced.
blog comments powered by Disqus