DynamicProxy Question, CreateClassProxy

34 views
Skip to first unread message

Stefan Sedich

unread,
Nov 23, 2009, 8:31:17 PM11/23/09
to Castle Project Users
Hello,

How do I use CreateClassProxy to wrap an existing object to intercept calls to it's virtual members, is this currently possible?



Cheers
Stefan

Stefan Sedich

unread,
Nov 23, 2009, 10:53:40 PM11/23/09
to Castle Project Users
Asked on the castle group but that seems to have been slow lately might see if someone on this list has any idea:


--
Stefan Sedich
Software Developer
http://weblogs.asp.net/stefansedich

Krzysztof Koźmic

unread,
Nov 24, 2009, 1:36:01 AM11/24/09
to castle-pro...@googlegroups.com
This Is castle group.

And no you can't do it and it's not something that will be added for the
very simple reason that it would not work most of the time.

If you want to proxy existing object use interface proxy with target
interface.

Krzysztof
> --
>
> You received this message because you are subscribed to the Google
> Groups "Castle Project Users" group.
> To post to this group, send email to
> castle-pro...@googlegroups.com.
> To unsubscribe from this group, send email to
> castle-project-u...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/castle-project-users?hl=en.

Reply all
Reply to author
Forward
0 new messages