I'm using Windsor 2.5.3 and I'm trying to use the fluent registration API to register a set of components per type found. What I'm trying to achieve is roughly: for every type in this assembly that inherits from X don't register X, but instead use X to determine a set of components to register.
The concrete example is that I want to find every DataContext in my assembly and rather than registering the DataContext itself, walk its properties and for each one that returns a Table<T>, register my own IRepository<T> as a component. I have a pretty strong suspicion that I'm just going to have to do this myself, but I would love to reuse the assembly walking code that Windsor clearly has. -- 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.
