The token to intercept
The callback that is called after the token is resolved
Optionaloptions: InterceptorOptionsOptions for under what circumstances the callback will be called
Registers a callback that is called when a specific injection token is resolved
The token to intercept
The callback that is called before the token is resolved
Optionaloptions: InterceptorOptionsOptions for under what circumstances the callback will be called
Calls .dispose() on all disposable instances created by the container.
After calling this, the container may no longer be used.
Check if the given dependency is registered
The token to check
Optionalrecursive: booleanShould parent containers be checked?
Whether or not the token is registered
Optionaloptions: RegistrationOptionsOptionaloptions: RegistrationOptionsOptionaloptions: RegistrationOptionsClears all registered tokens
Resolve a token into an instance
The dependency token
An instance of the dependency
Registers a callback that is called after a successful resolution of the token