Sorry, that ListResolver can satisfy IList dependency of services, that were registered individually. In your case, if you register several Foo services, RequiresGenericList's ctor dependency will be satisfied by said resolver. It will use individual Foo services in the container to create IList<Foo>.
On Fri, Apr 17, 2009 at 7:42 AM, Stuart Laughlin <[email protected]>wrote: > > On Thu, Apr 16, 2009 at 10:02 PM, Victor Kornov <[email protected]> wrote: > > > > using Castle.MicroKernel.Resolvers.SpecializedResolvers.ListResolver ? > > > > Ah, very nice! > > Only how do I use it? I can't find much help in the docs. I tried... > > container.Kernel.Resolver.AddSubResolver(new > ListResolver(container.Kernel)); > > ...but it still tries to use the other GenericListConverter. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
