c# - Autofac equivalent of StructureMap's WhatDoIHave() -


does autofac have analog structuremap's whatdoihave() method? i'd able see visual representation of services registered in container. i've looked @ autofac's documentation , can't find similar.

if such method not exist, there technical issue autofac makes difficult implement or has there not been interest in providing it?

you can use registrationfor method of icomponentregistry registered service. can access component registry componentregistry method of icomponentcontext (ie : ilifetimescope icontainer)

icontainer container = builder.build();   container.componentregistry.registrationfor(new typedservice(typeof(ixservice)); 

Comments

Popular posts from this blog

elasticsearch python client - work with many nodes - how to work with sniffer -

angular - Is it possible to get native element for formControl? -

Upload file with tags through OwnCloud or NextCloud API -