Private
new SimpleDI()
Private
Static
KEY: string
= "__ORDERLY_CONTAINER__"
Private
Static
container: Container
Static
get<T
>(name
): T
Name | Type |
---|---|
T | any |
Name | Type |
---|---|
name | string |
T
Static
getAll(): Object
Object
Private
Static
getContainer(): Container
Container
Static
getOr<T
>(name
, instance
): T
Name | Type |
---|---|
T | any |
Name | Type |
---|---|
name | string |
instance | T |
T
Static
register(...serviceClasses
): void
Name | Type |
---|---|
...serviceClasses | any [] |
void
Static
registerByName(name
, serviceClass
): void
Name | Type |
---|---|
name | string |
serviceClass | any |
void