Open dimako opened 5 years ago
Hi @dimako, Have you tried where you where you register the class you want injected as IProductService with IsDefault (and a name). Ie. Do all your fluent registration with IsFallback, and then specifically register ProductService as default.
Isn't Windsor trying to inject ProductServiceSecurityDecorator as IProductService and not ProductService. Hnece the issue?
Hi guys, I have come across the issue while implementing some sort of a strategy locator. I want to be able to inject a collection of strategies of a certain type into a service that should be responsible for picking up the correct one based on the name of a strategy. My code is:
When I run the test I get the following exception message:
If I don't decorate the service or if I inject the StrategyLocator directly into the decorator everything works fine