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

unity3d - Rotate an object to face an opposite direction -

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

javascript - Why jQuery Select box change event is now working? -