Reputation: 47577
Are there equivalent for StructureMap of this in Unity:
ServiceLocator.Current.GetAllInstances<IT>
Trying to follow this little pattern...
Upvotes: 3
Views: 1729
Reputation: 819
ObjectFactory.GetAllInstances();
see http://structuremap.sourceforge.net/RetrievingServices.htm#section3 for more details
Upvotes: 6