Traversing Expression tree
Is there any possibility to traverse Expression instance in .NET?
I mean: i have Expression/Expresstion> instance generated in external code. is there any possibi开发者_StackOverflow中文版lity to see what is in there ?
Yes.
The easiest option is to inherit the ExpressionVisitor
class.
A .Net 3.5 version is also available.
精彩评论