hey, take a look at this SO question:
http://stackoverflow.com/questions/3613262/how-do-you-register-a-component-in-castle-which-takes-another-component-as-a-para
It's not the 1st time someone tries to do service override via
DependsOn(Property...)
What do you think of making it possible by extending the syntax so that you
could do:
DependsOn(
Property.ForKey<IFoo>().Is<MyNonDefaultFooServive>(),
Property.ForKey<IBar>().Is("bar.component.name"),
Property.ForKey("baz").Is("baz.component")
);
Thoughts?
If you guys like that, I'll add that for v2.5.1
Krzysztof
--
You received this message because you are subscribed to the Google Groups
"Castle Project Development List" 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-devel?hl=en.