I have the following class:
public class Foo : IFoo
{
public Foo(IBar[] bars);
}
IBar has multiple implementations that are all registered in the UnityContainer. When I call
UnityContainer.Resolve()I want that the container to inject all known IBar implementations into the object.
How can I achieve this?