Is there a way to have structmap inject an array of all implementaions of an interface?

Posted by Robin Robinson on Stack Overflow See other posts from Stack Overflow or by Robin Robinson
Published on 2010-06-10T14:38:54Z Indexed on 2010/06/10 14:42 UTC
Read the original article Hit count: 203

Filed under:

Example

MyConstruction(IEnumberable<IMyInterface> myInterfaces)
{
}

where I have a couple of classes that implement IMyInterface.

© Stack Overflow or respective owner

Related posts about structuremap