API Reference › Globals › Container
# Class: Container
# Hierarchy
- Container
# Index
# Methods
# Methods
# addDependencyInjectionAssignments
▸ addDependencyInjectionAssignments(injections
: DependencyInjectionAssignment[]): void
Defined in packages/common-core/src/di/container.ts:22
Parameters:
Name | Type |
---|---|
injections | DependencyInjectionAssignment[] |
Returns: void
# cleanUp
▸ cleanUp(context?
: string): void
Defined in packages/common-core/src/di/container.ts:51
Parameters:
Name | Type |
---|---|
context? | string |
Returns: void
# getContext
▸ getContext(name
: string): string
Defined in packages/common-core/src/di/container.ts:12
Parameters:
Name | Type |
---|---|
name | string |
Returns: string
# lookup
▸ lookup<T>(specifier
: string, context?
: string): T
Defined in packages/common-core/src/di/container.ts:28
Type parameters:
▪ T
Parameters:
Name | Type |
---|---|
specifier | string |
context? | string |
Returns: T