ServiceLocator
Parameters
allowReregister
if true, allow registering keys multiple times. The latest registration will be used. This should generally only be true for tests.
if true, allow registering keys multiple times. The latest registration will be used. This should generally only be true for tests.