Consider I have one interface.
interface Interface<A> {}
Now I have 2 classes which implement this interface:
class ClassOne<A>: I<A> {}
class ClassTwo<A>: I<A> {}
Now I want to use these 2 classes in a third class.
class child
{
child(Interface<A> objCA,Interface<A> objCB)
{}
}
I am not able to inject the dependency for child class using Castle Windsor. Even if I inject it, it is passing only one object to all of them. So how can I resolve this scenario using Castle Windsor?