I know I can register a single type for a component like so:
<component
id="myservice"
service="MyServices.IService"
type="MyServices.Impl.Service1" />
Imagine a scenario where I have a class that takes an array of IService like so:
public class MyClass
{
public MyClass(IService[] services) { ... }
}
How do I register, for example, Service1, Service2 and Service3 for the IService component using XML configuration?
Or if you want to be more compact: