structuremap icon indicating copy to clipboard operation
structuremap copied to clipboard

Model diagnostics needs a "WhatDependsOn<T>()"

Open jeremydmiller opened this issue 8 years ago • 1 comments

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?

jeremydmiller avatar Nov 01 '16 13:11 jeremydmiller

I would say to call lambdas as well, to determine if they depend on the service, just like the valid configuration check.

CMircea avatar Feb 20 '17 17:02 CMircea