Ferry Mulyono

See also: Other Geeks@INDC

February 2006 - Posts

StealthObjectFactory

Some result of my one-week time playing around with System.Reflection and CodeDom.

http://workspaces.gotdotnet.com/StealthObjectFactory

Brief Explanation:

Basically this is sort of tiny “framework” to enable performing factory pattern (i.e. create instance of a new object whose type is unknown at runtime, but the returned object complies with a contract, whether it's abstract classes or interfaces) by scripting means (no compile, no deploy, etc). But then again, as written in the GotDotNet Workspace, it's v,0.1 LOL :p So I've tested the code only using simple hello world project.

Hopefully it can help beginner's to .NET to understand about Reflection and Activator, and a little section handler on AppConfig (This is my first time too :o ). If there's any complaint, suggestion or anything, don't hesitate to contact me :)

Share this post: | | | |