RootComponent

interface RootComponent

Represents the root component of the dependency injection graph, typically the Application class. It holds the root Scope from which all other scopes are derived.

Properties

Link copied to clipboard
abstract val scope: DefaultScope

The root scope of the application.

Functions

Link copied to clipboard
open fun combineToRoot(vararg block: ModuleDefinition)

Dynamically registers and combines additional dependency definitions into the root scope.