I want a proxy with a target of the following scenrario:
I have three interfaces :
-IA
-IB
-IC : IA, IB --> (IC inherit IA and IB)
The target is an implementation of "IA" and I want the proxy implements
IC and IB of course.
proxyGenerator.CreateInterfaceProxyWithTargetInterface(typeof(IA),
new[] { typeof(IC) },
//Aditional interfaces.
anInstanceImplementingIA, options,
new[] { new SampleInterceptor() });
The problem; If I do it in this way calls to members of "IA" never
reached the target.
The InvocationTarget of those members is the Proxy, instead
"anInstanceImplementingIA".
Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Castle Project Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---