I have tens of registrations in my Autofac modules. Every project in my solution has a single Autofac module which is responsible for registering all the components required to initialize classes in that project.
I have a similar setup for Automapper. Every project has a profile with mappings that are used in that project. Automapper allows me to test a profile to see if the mappings would work at runtime.
Is there something similar for Autofac? I am looking for something that verifies if all constructors of classes in a project (or a given list of classes) can be satisfied with the registered types in Autofac.
Aucun commentaire:
Enregistrer un commentaire