RSS 2.0 Feed
RSS 2.0


Atom 1.0 Feed
Atom 1.0

  Implementing the Visitor Pattern using Reflection 

I just read an awesome article from Brad Wilson (posted to his DotNetDevs site) about implementing the Visitor pattern using Reflection. Man, that was some truly great stuff. A must read. I've been working on something similar in C# 2.0, but going the route of using generics instead. The Reflection route is very interesting but as Brad mentioned, you'd have to use some sort of caching scheme to offset the performance penalties.


Great stuff.




                   



Leave a comment below.

Comments

  1. SteveC-A9 6/14/2006 8:04 AM
    Gravatar
    I would love to see this updated (possibly using Generics) for 2.0 of the Framework....

Leave a comment

Please be polite and on topic. Your e-mail will never be published.

Please add 4 and 6 and type the answer here:



 

News


Also see my CRM Developer blog

Connect:            

Sponsor

Sections