import All
Imports all bindings defined in the given DI.Modules into this builder's definition.
Note that modules are definitions, they will re-declare their bindings in each di instance you use.
Parameters
modules
The module objects to import.
allowOverride
Whether this module is allowed to override existing bindings. If it is not, overrides (even explicit) will throw an OverridingException.
Throws
If this module overrides an existing binding and is not allowed to OR allowOverride is true while YOU don't have the permission to override.