I am using version 2.1.0.0 modified may 04 2009 9:27:17 AM how can i get the trunk version ?
thanks -ashish On Sep 17, 9:56 am, Krzysztof Koźmic (2) <[email protected]> wrote: > Which version do you use? > Does it fail also on the trunk version? > > On Sep 17, 4:50 pm, grumpy <[email protected]> wrote: > > > I have a complex object graph that contains generic collections > > ( essentially an object graph for nhibernate) > > > i am trying to create a proxy for it, and in process i would like > > create a proxy for the Ilist member too, so i can trap all adds and > > removes. > > > but when i try to do this using the method > > > IList<Address> addrses = gen.CreateInterfaceProxyWithTarget(typeof > > (IList<Address>) , cust.Addresses, new ListInterceptor()) as > > IList<Address>; > > > i get this error > > > 'DynamicProxy cannot create an interface (with target) proxy for > > 'IEnumerable`1' as the target 'List`1' has an explicit implementation > > of one of the methods exposed by the interface. The runtime prevents > > use from invoking the private method on the target. Method > > System.Collections.Generic.IEnumerable<T>.GetEnumerator' > > > should i be able to create proxies for collections in my object > > graphs ? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
