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.
Static
getStatic
registerStatic implementation of ITSinjex.register.
Static
resolveStatic implementation of ITSinjex.resolve.
TSinjex
The main class for the Dependency Injection Container TSinjex.
Decorators
See
Functions