Interface: RegistrationInfo
Defined in: src/types.ts:266
Read-only metadata about a registration. Returned by ServiceProvider.getRegistration.
Properties
dependencies
readonlydependencies: readonlyDependencyInfo[]
Defined in: src/types.ts:272
The dependencies passed to the factory, in order.
depth
readonlydepth:number
Defined in: src/types.ts:274
0 when registered in the container that was asked, 1 for its parent, and so on.
key
readonlykey:ServiceKey
Defined in: src/types.ts:268
The registered key.
kind
readonlykind:RegistrationKind
Defined in: src/types.ts:270
How the service was registered.
linked?
readonlyoptionallinked?:RegistrationInfo
Defined in: src/types.ts:280
For namespace-entry and delegate: the registration it resolves to.
namespace?
readonlyoptionalnamespace?:string
Defined in: src/types.ts:278
The namespace name, for namespace and namespace-entry registrations.
target?
readonlyoptionaltarget?:ServiceKey
Defined in: src/types.ts:276
Alias target, or the key inside the namespace container.