Ive seen perviously the implementation of without explicitely injecting interface, when creating an interface can simply inherit for example Interface “IamContainerRegistered” and on compile it will inject the interface
Sorry i have no code to provide im not sure on where to start but help is appreciated.
So in pseudo its kind of like, For each interface which has been inherited by IAmContainerRegistered:
builder.RegisterType<ClassName>().As<InterfaceName>().InstancePerRequest();
(Using AutoFac)
1