Sorry for the long time between responses, busy week that last one.

Krzysztof, that did help. Just the confirmation that you can't create and 
return a proxy through a factory method was enough so that I could abandon 
trying that route.

I have enabled the functionality that I need with an Interceptor as someone 
else mentioned, which is essentially what I was attempting in the first 
place. The one thing I had to dig into was to set .OmitTarget like this:

                ProxyUtil.ObtainProxyOptions(model, true).OmitTarget = true;

After I did that, the desired functionality is achieved with a simple 
Component.For<IInterface>();

- Nick

-- 
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.

Reply via email to