Reflection: invoke some methods through TransparentProxy
Hi guys, i've a problem.
I've an application (called host) with its method and some external
application (called plugins) to connect to host with reflection.
how can i load plugins (not in the same path of host) in a different
appdomains (so i can unload them when needed)? maybe i found out how
to do it, (if you can post and easy example i will appreciate it) but
i get a "transparentproxy" of my host and i'm not able to handle it.
is it right? how can i invoke my host's method from my plugins? if i
try with MyTransparentProxy."MyMethod" i get
System.MissingMemberException.
i'll appreciate any help. best regards
Enrico
p.s.: i apologize for my english, but i'm italian... :)
Date:Thu, 09 Aug 2007 07:23:40 -0700
Author:
|