When multiple single-instances are registered for a single interface, it seems that Autofac's default behavior is to let them overwrite each other, such that latest registration is the one that'll be used to build the container. Is there anyway to change this behavior, such that the application will simply fail to run if this happens?
I've tried looking through the documentation, and found stuff like .IfNotRegistered(), but that will simply reverse the effect, s.t. the first registration will be the valid one. What I'd like is a way to simply prevent the application from ever running, if there are multiple singleinstance registrations under the same interface.