---
Patrick Steele
http://weblogs.asp.net/psteele
> --
> 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 castle-pro...@googlegroups.com.
> To unsubscribe from this group, send email to castle-project-d...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/castle-project-devel?hl=en.
>
If you take out the WithService.AllInterfaces(), you should be okay.
But if you want other components to depend on an IValidator<T>, you'll
probably need to configure some service overrides so Windsor knows
which one of your multiple IValidator<T>'s to use.
I think... :)
---
Patrick Steele
http://weblogs.asp.net/psteele
http://visualstudiomagazine.com/articles/2011/12/01/windsor-beyond-dependency-injection.aspx
It talks about service overrides. Basically, you can name your IFoo
implementations and then you can pick which IFoo implementation to use
(based on name) when registering a component that needs an IFoo.
---
Patrick Steele
http://weblogs.asp.net/psteele
---
Patrick Steele
http://weblogs.asp.net/psteele