var handlers = kernel.GetHandlers(typeof(IConsumer));

you can also have the kernel return all components. i think the new 
collection resolver will throw if a component is not resolvable.
kernel.Resolver.AddSubdependencyResolver(new CollectionResolver(true));
...
var components = kernel.ResolveAll<IConsumer>();

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