Private Readonly_dependenciesThe dependencies map.
Private Static_instanceThe singleton instance of the TSinjex class.
Register a dependency.
The identifier of the dependency.
The dependency to register.
If true, the dependency is deprecated => a warning is logged when the dependency is resolved.
Resolve a dependency
The identifier of the dependency
If true, throws an error if the dependency is not found
The resolved dependency or undefined if the dependency is not found
A DependencyResolutionError if the dependency is not found and necessary.
StaticgetStaticregisterStatic implementation of ITSinjex.register.
StaticresolveStatic implementation of ITSinjex.resolve.
TSinjex
The main class for the Dependency Injection Container TSinjex.
Decorators
See
Functions