This post originated from an RSS feed registered with .NET Buzz
by Brad Wilson.
Original Post: Feeling Reflective
Feed Title: The .NET Guy
Feed URL: /error.aspx?aspxerrorpath=/dotnetguy/Rss.aspx
Feed Description: A personal blog about technology in general, .NET in specific, and when all else fails, the real world.
The first article, Reflection Demystified, covers the basics of reflection. I wrote this article essentially as a supplement to the Attribute based URL Dispatching article, to help describe the use of reflection in the dispatching system.
The second article, Using Reflection for the Visitor Pattern, introduces the Gang of Four pattern called "Visitor". It describes a particular class of problem, the "old school" solutions to the problem, and then how to use the Visitor to solve the problem in a more elegant and object oriented fashion. It then goes on to show how reflection can make creating and using visitors a much simpler task.