开发者

Traversing Expression tree

开发者 https://www.devze.com 2023-02-06 12:24 出处:网络
Is there any possibility to traverse Expression instance in .NET? I mean: i have Expression/Expresstion> instance generated in external code.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消