Is it possible to configure the Unity Dependency embedding infrastructure for a solution by agreement. In other words, if I have an ICustomerRepository, when he tries to solve it, he will first see if there are any registered types, and if not, then by agreement, try and resolve the CustomerRepository class.
This will save a lot of repetitive code.
source
share