没有合适的资源?快使用搜索试试~ 我知道了~
decoration-ioc:VisualVisual Studio Code中使用的简单的类型安全的依赖项注入系统
共23个文件
ts:15个
json:4个
license:1个
需积分: 5 0 下载量 74 浏览量
2021-03-11
22:47:49
上传
评论
收藏 31KB ZIP 举报
温馨提示
Visual Studio Code的“实例化”系统 decorating-ioc是控制和依赖注入框架的非常简单的反转。 decoration-ioc ,它提供了可靠的服务位置和带有自动依赖项解析的构造函数注入。 快速开始 首先,确保将experimentalDecorators TypeScript编译器选项设置为true 。 定义服务接口 // Define the service. export interface IMyService { _serviceBrand : undefined ; sayHello ( ) : string ; } // Create a decorator used to reference the interface type. export const IMyService = createDecorator < IMyServi
资源推荐
资源详情
资源评论
收起资源包目录
decoration-ioc-master.zip (23个子文件)
decoration-ioc-master
.travis.yml 33B
package.json 1KB
test
instantiationService.test.ts 11KB
tsconfig.json 171B
graph.test.ts 2KB
LICENSE 1KB
package-lock.json 37KB
src
descriptors.ts 10KB
graph.ts 2KB
base
collections.ts 2KB
graph.ts 3KB
async.ts 1KB
errors.ts 530B
types.ts 1KB
lifecycle.ts 417B
serviceCollection.ts 1KB
extensions.ts 969B
instantiationService.ts 11KB
instantiation.ts 7KB
index.ts 549B
tsconfig.json 296B
.gitignore 46B
README.md 2KB
共 23 条
- 1
资源评论
FranklinZheng
- 粉丝: 26
- 资源: 4567
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功