Injectorlink
Concrete injectors implement this interface.
说明
For more details, see the "Dependency Injection Guide".
静态属性
| 属性名 | 类型 | 说明 |
|---|---|---|
| THROW_IF_NOT_FOUND | ||
| NULL | ||
| ngInjectableDef |
静态方法
Create a new Injector which is configure using | ||||
参数
返回值 | ||||
参数
返回值 | ||||
Example |
方法
Retrieves an instance from the injector based on the provided token. | ||||
参数
返回值
|
使用说明
Example
Injector returns itself when given Injector as a token: