Thursday, May 05, 2005

Reflections are fun!

I am learning a ton about the System.Reflection namespace this week. The other day, I used some reflection in a developer tool I wrote to dynamically set a property on an object.

Today, I am using reflection to execute a dynamic method, given only the method's name, and an xml file with the parameters for the method. I am building the parameter array from the xml data, and then calling the method using MethodInfo.Invoke().

I am having a blast. I knew this job would be a great learning opportunity for me. Rock on me!
Listening to: Give Me Novacaine - Green Day - American Idiot (Proper Retail) (03:26)

No comments: