Hi,
I have the following class
public class Parent {
public Parent(params IChild<Parent> children)
{
}
}
I'm using container.AddComponent to add lots of IChild entries at
runtime, and when I do container.ResolveAll<IChild<Parent>>() I get an
appropriate array back.
However, when I do container.Resolve<Parent>() I get a waiting for the
following dependencies error. (Point to Keys:children).
Is there a way I can get Windsor to Resolve all registered children in
the constructor injection, or should I have an
IChildResolverFactory<Parent> dependency instead (which would do a
resolveAll for me).
Hope that's clear.
Thanks,
Chris
--
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.