A unique object used for retrieving items from the ReflectiveInjector.
Keys have:
id
token
Key is used internally by ReflectiveInjector because its system-wide unique id allows the injector to store created objects in a more efficient way.
Key
Key should not be created directly. ReflectiveInjector creates keys automatically when resolving providers.
Private
Returns a stringified token.
the number of keys registered in the system.
Retrieves a Key for a token.
Generated using TypeDoc
A unique object used for retrieving items from the ReflectiveInjector.
Keys have:
id.token.Keyis used internally by ReflectiveInjector because its system-wide uniqueidallows the injector to store created objects in a more efficient way.Keyshould not be created directly. ReflectiveInjector creates keys automatically when resolving providers.