Hello guys.
Stupid question: how can one replace the DefaultDependencyResolver
with a custom one?
DefaultDependencyResolver does almost everything I want. Fortunately,
I can get the behaviour I'm after by just overriding a method. Now,
the problem is that DefaultDepencyResolver expects an IKernel
reference. That means I can't instantiate it like this:
_container = new WindsorContainer(
new DefaultKernel( new
PropagationDependencyResolver( *****oooopss: needs IKerner*** ),
new
NotSupportedProxyFactory() ),
new DefaultComponentInstaller() );
Now, as you can see, this looks like one of those chicken-eggs
problem...
I hope that the solution isn't creating my own IDependencyResolver...
thanks guys.
Luis
--
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.