Reflection, Lambda, and Expression Magic
0 comments
/
posted by
Silverlight Show
on
Aug 01, 2011 (1 month ago)
Read original post by Jeremy Likness at C#er : IMage Sometimes I love how a little reflection can work magic. In this case I was building what I'll call a "non-intrusive" validation system. The project contains entities that are generated by templates, and it would be extremely difficult to crack open those templates to put in a lot of custom validation code. So I decided to approach it using a he ...