you can do it by saying (pseudo-syntax) Register.BasedOn<A>.ConfigureIf<B>(Forward<B>) Register.BasedOn<B>
-- Krzysztof Kozmic On Saturday, 1 September 2012 at 12:04 AM, Asger Hallas wrote: > Hi > > I guess this is actually a feature request - or maybe I just don't get how to > do it right. > > I wonder if it would be possible to: > Register all types based on one generic interfaces and then all types based > on another generic interface - and have windsor register both generic > interfaces as services for the types that implements both? > > Thus having Windsor aggregate services for the component if the same type is > registered with several services? > > I originally posted a stackoverflow question about my actual problem here: > http://stackoverflow.com/questions/12111502/registering-the-same-classes-with-two-services-in-two-steps-in-castle-windso > > But I have not had so much luck with it :) > > Can you tell me, if I need to do it otherwise - and if the feature of > unioning services from multiple registrations of the same type actually could > make sense? > > Cheers, > Asger > > -- > You received this message because you are subscribed to the Google Groups > "Castle Project Users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/castle-project-users/-/6xZdNN8hHycJ. > To post to this group, send email to [email protected] > (mailto:[email protected]). > To unsubscribe from this group, send email to > [email protected] > (mailto:[email protected]). > For more options, visit this group at > http://groups.google.com/group/castle-project-users?hl=en. -- 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.
