<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>Reflection</title>
        <link>http://geekswithblogs.net/rajeshpillai/category/11237.aspx</link>
        <description>Dynamic methods, object access..</description>
        <language>en-US</language>
        <copyright>Rajesh Pillai</copyright>
        <managingEditor>thinkrajesh@yahoo.com</managingEditor>
        <generator>Subtext Version 0.0.0.0</generator>
        <item>
            <title>Reflection</title>
            <link>http://geekswithblogs.net/rajeshpillai/archive/2010/02/12/reflection.aspx</link>
            <description>&lt;p&gt;Reflection has always fascinated me.  Here a small reusable API to invoke methods dynamically.  This uses local caching for optimization and takes care of multithreading as well..&lt;/p&gt;
&lt;p&gt;You can use this class in a dll or a webservice.....    Pass this method the following parameters..&lt;/p&gt;
&lt;p&gt;1. dllPath : The path to the dll.&lt;/p&gt;
&lt;p&gt;2. className : The type to load dynamically&lt;/p&gt;
&lt;p&gt;3. methodName : The method to invoke&lt;/p&gt;
&lt;p&gt;4 pInput[] : The input parameters if any.&lt;/p&gt;
&lt;p&gt;private static Hashtable AssemblyHash = new Hashtable(1024);&lt;br /&gt;
private static Hashtable TypeHash = new Hashtable(10*1024);&lt;br /&gt;
&lt;br /&gt;
&lt;img alt="" src="file:///C:/Users/RAJESH%7E2.PIL/AppData/Local/Temp/moz-screenshot.png" /&gt;&lt;img alt="" src="file:///C:/Users/RAJESH%7E2.PIL/AppData/Local/Temp/moz-screenshot-1.png" /&gt;&lt;img width="1084" height="752" src="/images/geekswithblogs_net/rajeshpillai/reflect_1.jpg" alt="" /&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Enjoy Programming...&lt;/p&gt; &lt;img src="http://geekswithblogs.net/rajeshpillai/aggbug/137935.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Rajesh Pillai</dc:creator>
            <guid>http://geekswithblogs.net/rajeshpillai/archive/2010/02/12/reflection.aspx</guid>
            <pubDate>Fri, 12 Feb 2010 12:13:16 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/rajeshpillai/comments/137935.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/rajeshpillai/archive/2010/02/12/reflection.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/rajeshpillai/comments/commentRss/137935.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/rajeshpillai/services/trackbacks/137935.aspx</trackback:ping>
        </item>
    </channel>
</rss>
