Reflection & Assemblies
-
Hi Guys, I need a little help. The scenario is as follows, I have an interface I, Class C implements I. C compiles to dll. In another project I want to Assembly.Load C and cast it to interface I so that I can use the methods in C Is this possible. What do I need to do? I'm very new to Assemblies! If not what the alternatives? Please help! - Tariq
-
Hi Guys, I need a little help. The scenario is as follows, I have an interface I, Class C implements I. C compiles to dll. In another project I want to Assembly.Load C and cast it to interface I so that I can use the methods in C Is this possible. What do I need to do? I'm very new to Assemblies! If not what the alternatives? Please help! - Tariq
Yes its quite possible, I've written an article that does just that Using reflection to extend .NET programs. James Sonork: Hasaki "I left there in the morning with their God tucked underneath my arm their half-assed smiles and the book of rules. So I asked this God a question and by way of firm reply, He said - I'm not the kind you have to wind up on Sundays." "Wind Up" from Aqualung, Jethro Tull 1971