Thanks, I was just trying to figure out its behavior. I think interceptor selectors stuff can be improved, the API is not intuitive in my opinion, in that you need to know what you need to return for it to behave correctly, although it's documented in the xml docs but you usually don't see it since you're not the client of the API.
2010/3/8 Krzysztof Koźmic <[email protected]> > oh, and about docs, we added new wiki, that all docs will be migrated to. > feel free to contribute :) > > http://stw.castleproject.org/Windsor.MainPage.ashx > > > > > On 3/8/2010 9:04 PM, Simone Busoli wrote: > > Is there documentation about what purpose they are used for or should I > look at the source? I'd expect to put in HasInterceptors the logic to tell > whether SelectInterceptors should be called or not, otherwise I have to > duplicate the logic in both methods. > > 2010/3/8 Krzysztof Koźmic <[email protected]> > >> That is correct. Both method are used at different spots and for different >> purpose. >> >> If selector wants is not interested in particular component it should >> return null from select method >> >> On 3/8/2010 6:54 PM, SimoneB wrote: >> >>> Should IModelInterceptorsSelector have its SelectInterceptors method >>> called if HasInterceptors returns false? >>> >>> I'd expect not, but I'm experiencing the opposite. >>> >>> >>> >> >> -- >> 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]<castle-project-users%[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. > > > -- > 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]<castle-project-users%[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.
