Are there equivalent for StructureMap of this in Unity:
ServiceLocator.Current.GetAllInstances<IT>
Trying to follow this little pattern...
Are there equivalent for StructureMap of this in Unity:
ServiceLocator.Current.GetAllInstances<IT>
Trying to follow this little pattern...
Hello,
ObjectFactory.GetAllInstances<interface>();
see http://structuremap.sourceforge.net/RetrievingServices.htm#section3 for more details