Reputation: 8156
I was dealing with Caste IOC container. The same operation can be done inside c# code and in the config file.
ServicesContainer.InstanceForTest().Container.Register(Component.For<IUserDAO>().ImplementedBy<UserDAO>());
<component service="Services.Application.DAL*[...]*, Services.Application.DAL" type="Services.Application.DAL.User.UserDAO, Services.Application.DAL" />
The first requires a reference and a compilation, the second one could be resolved also at run-time (but visual studio could try to check it also at compile time).
Actually there seems to be not suggestion or check by the IDE:
IDE configuration:
Can I enable some option to enable syntax highlighting?
Upvotes: 0
Views: 67