|
-
Mar 25th, 2005, 06:36 PM
#1
Thread Starter
New Member
Writing a Dynamic Proxy
Hi guys,
does anyone have any idea about how to go to implement a dynamic proxy in vb? what I would like to do is to be able to call a non-existing method on a dynamicproxy object, and have the object work out how to deal with the call.
this would allow me, for example, to write a dynamic proxy decorating another object, and doing some logging before dispatching the call to the wrapped object.
I saw there is an invoke method called on all objects to handle method call dispatching, and I guess I should override that, but I haven't found a single proof-of-concept example showing how to do that.
thanks for any help!
J.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|