Can you reproduce the invalid behaviour in test?

On 13/01/2012 1:24 AM, mynkow wrote:
Ok, I moved this code:

Component.For<IRegistrationPolicy>().ImplementedBy<NoRegistrationPolicy>().LifeStyle.Is(lifeStyle),
                 
Component.For<IRegistrationPolicy>().ImplementedBy<DefaultRegistrationPolicy>().LifeStyle.Is(lifeStyle),

to be executed before:
kernel.AddHandlerSelector(new  DefaultRegistrationPolicyHandlerSelector());

and now is working. Very strange.

--
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/-/nKERlSVM4_IJ. 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].
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en.

Reply via email to