Impromptu-interface

Posted by Sean Feldman on ASP.net Weblogs See other posts from ASP.net Weblogs or by Sean Feldman
Published on Mon, 14 Mar 2011 04:56:00 GMT Indexed on 2011/03/14 8:10 UTC
Read the original article Hit count: 461

Filed under:
|

While trying to solve a problem of removing conditional execution from my code, I wanted to take advantage of .NET 4.0 and it’s dynamic capabilities. Going with DynamicObject or ExpandoObject initially didn’t get me any success since those by default support properties and indexes, but not methods. Luckily, I have a reply for my post and learned about this great OSS library called impromptu-interface. It based on DLR capabilities in .NET 4.0 and I have to admit that it made my code extremely simple – no more if :)

© ASP.net Weblogs or respective owner

Related posts about .NET

Related posts about oss