API Reference › Globals › RoomleDependencyInjection
# Class: RoomleDependencyInjection
# Hierarchy
- RoomleDependencyInjection
# Index
# Methods
# Methods
# Static
addToContainer
▸ addToContainer(injectables
: DependencyInjectionAssignment[]): void
Defined in packages/common-core/src/di/roomle-dependency-injection.ts:30
Parameters:
Name | Type |
---|---|
injectables | DependencyInjectionAssignment[] |
Returns: void
# Static
cleanUp
▸ cleanUp(context?
: string): void
Defined in packages/common-core/src/di/roomle-dependency-injection.ts:26
Parameters:
Name | Type |
---|---|
context? | string |
Returns: void
# Static
getContext
▸ getContext(name
: string): string
Defined in packages/common-core/src/di/roomle-dependency-injection.ts:21
Parameters:
Name | Type |
---|---|
name | string |
Returns: string
# Static
lookup
▸ lookup<T>(specifier
: string, context?
: string): T
Defined in packages/common-core/src/di/roomle-dependency-injection.ts:17
Type parameters:
▪ T
Parameters:
Name | Type |
---|---|
specifier | string |
context? | string |
Returns: T
# Static
setup
▸ setup(injectables
: DependencyInjectionAssignment[]): void
Defined in packages/common-core/src/di/roomle-dependency-injection.ts:13
Parameters:
Name | Type |
---|---|
injectables | DependencyInjectionAssignment[] |
Returns: void