Dump the container configuration in StructureMap
-
22-07-2019 - |
Question
I have a ever growing project using StructureMap as the IOC container. I am trying to reduce the amount of code in the StructureMap registries by using the auto-registration with Scan(). As I make changes is there an easy way to dump the current container to the console so i can see if the changes have done what I expected?
Solution
From memory I think this will do it:
ObjectFactory.WhatDoIHave
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow