Check if a token is registered in the container or its ancestors.
Register a ClassProvider
with the token of the class itself.
All the tokens specified in the @Injectable
decorator are also registered.
Register a ClassProvider
with a token.
Optional
options: RegistrationOptionsRegister a FactoryProvider
with a token.
Optional
options: RegistrationOptionsRegister a ValueProvider
with a token.
Resolve a class token to an instance.
Resolve a token to an instance.
Resolve a token to an instance, by checking each token in order until a registered one is found.
Resolve a class token to instances with all registered providers.
Resolve a token to instances with all registered providers.
The returned array will not contain null
or undefined
values.
Resolve a token to instances with all registered providers, by checking each token in order until a registered one is found.
The returned array will not contain null
or undefined
values.
Remove a registration from the internal registry.
Container API.