So I use windsor dependency injection:
container.Register(Component.For<IX>().ImplementedBy<X>().LifestyleSingleton());
My problem (such as it is) is that in the X class's constructor, I cannot easily see that that constructor is used. In fact, Visual Studio tells me that it is not in use:
This is mildly annoying - it becomes difficult to spot dead code.
How do you fix this?
