> if you can live with the fact that the destination object has
> to inherit MarshalByRefObject,
This isn't a strict necessity. The constructor for RealProxy takes a type
that must be MBR. System.MarshalByRefObject works very nicely for this
purpose. It works especially well for those classes
To: [EMAIL PROTECTED]
> Subject: [DOTNET] Proxy class
>
>
> Hi,
>
> I need a proxy class with the same functionality as the
> java.lang.reflect.Proxy class in JDK 1.3+. I suppose it is
> relatively easy to do it using System.Reflection.Emit or
> CodeDOM, but any ideas
Hi,
I need a proxy class with the same functionality as the java.lang.reflect.Proxy
class in JDK 1.3+. I suppose it is relatively easy to do it using
System.Reflection.Emit or CodeDOM, but any ideas are welcome. Especially, I'd like to
avoid emitting code.
Thanks,
Daniel Aioanei
You can