My question resembles this question. However there is an important difference. I am using Unity Container. The problem is that I need to use two instance of an interface in the same constructor. These instances may be from the same implementation as well as different ones. Simplified version of the constructor is below.
public SomeService(IMyInterface instance1, IMyInterface instance2) : ISomeService
In the question I mentioned before, different implementations were used in different classes. However in my case, I need separation in one class.
Is this possible with Unity? If not, is there a recent container which has this capability?