yet one more. We could use something like IDependencyVisitor, which would be plugged into a component, and everytime we create one, we could be able to visit dependencies being used. One scenario I have for that, is when I create components with dependency on ISession, I want to enforce that the dependent component is either transient or per-session, and throw otherwise. This could be another way to handle the issue Ayende mentioned, about handling situations where long living component wants to take a dependency on short living component.
-- 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.
