.NET - create instance of each type that implements specific interface

Posted by Feryt on Stack Overflow See other posts from Stack Overflow or by Feryt
Published on 2010-05-05T08:56:13Z Indexed on 2010/05/05 8:58 UTC
Read the original article Hit count: 240

Filed under:
|
|

Hi.

I have interface IModule and several classes that implements it. In test i need to create instance of each type(class) implementing that interface. Is is possible(with StructureMap)?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about refrection