structuremap
structuremap copied to clipboard
Model diagnostics needs a "WhatDependsOn<T>()"
Coming up at work. We really need to see every registration that depends on a certain service for troubleshooting. Has to be a recursive search down.
What to do with Lambda dependencies? Perfect is the enemy of the good?
I would say to call lambdas as well, to determine if they depend on the service, just like the valid configuration check.