1

Is there a method for Castle Windsor to inject multiple concrete implementations of a single interface into a constructor?

I want to do something like this:

class Some
{
   public Some(IService[] services)
   {
      services.Each(s => s.DoSomething(this));
   }
}

Note, at this level I do not have access to the IWindsorContainer and would like to keep it that way.

Daniel A. White
  • 187,200
  • 47
  • 362
  • 445

1 Answers1

3

See http://hammett.castleproject.org/?p=257

maciejkow
  • 6,403
  • 1
  • 27
  • 26