danyloid
danyloid

Reputation: 1677

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 possibility to see what is in there ?

Upvotes: 0

Views: 829

Answers (1)

SLaks
SLaks

Reputation: 887453

Yes.

The easiest option is to inherit the ExpressionVisitor class.
A .Net 3.5 version is also available.

Upvotes: 8

Related Questions