Hi all, Is there a way of using subresolvers (such as CollectionResolver) on the initial call to container.Resolve<T>()? Resolve only seems to work if something is directly registered with the container.
https://gist.github.com/894190 On that example, I would like line 44 to work in a similar way to how sub-dependencies are resolved when calling Resolve<Test>(), and return a collection of all IPerson to me. Is there something I can do to make that work, or another way of resolving through subresolvers directly on the container? I had a look at going through Kernel.Resolver.Resolve(..), but it required parameters that I didn't know how to provide. *Note that this isn't for use with CollectionResolver, because for that I could always call ResolveAll - CollectionResolver is just an example* Thanks! Cameron -- 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.
