combine
Applies a ModuleDefinition to a given DefaultScope, registering all the defined dependencies.
Parameters
scope
The DefaultScope to which the module will be applied.
block
The ModuleDefinition lambda containing the dependency bindings.
Applies multiple ModuleDefinitions to a given DefaultScope. This is a convenience function to register several modules at once.
Parameters
scope
The DefaultScope to which the modules will be applied.
block
A variable number of ModuleDefinition lambdas.