├── .autod.conf.js ├── .githooks └── pre-commit │ └── filter.sh ├── .gitignore ├── .travis.yml ├── CHANGELOG.md ├── LICENSE ├── README.md ├── benchmark ├── .gitignore ├── fixtures │ ├── injection.ts │ └── inversify.ts ├── index.ts ├── readme.md ├── req-scope │ ├── userController.ts │ └── userService.ts ├── requestContainer.ts ├── singleton-scope │ ├── userController.ts │ └── userService.ts └── tsconfig.json ├── docs ├── .nojekyll ├── .vuepress │ ├── config.js │ ├── override.styl │ └── style.styl ├── README.md ├── en │ ├── README.md │ └── guide.md └── guide.md ├── package.json ├── scripts ├── deploy.sh ├── deploy_doc.js └── deploy_key.enc ├── src ├── annotation │ ├── index.ts │ ├── inject.ts │ ├── objectDef.ts │ └── provide.ts ├── base │ ├── configuration.ts │ ├── decoratorManager.ts │ ├── functionDefinition.ts │ ├── messageSource.ts │ ├── objectCreator.ts │ ├── objectDefinition.ts │ ├── resource.ts │ └── scope.ts ├── factory │ ├── applicationContext.ts │ ├── common │ │ ├── autowire.ts │ │ ├── constants.ts │ │ ├── managed.ts │ │ └── managedResolverFactory.ts │ ├── container.ts │ ├── requestContainer.ts │ └── xml │ │ ├── example.xml │ │ ├── interface.ts │ │ ├── utils.ts │ │ ├── xmlApplicationContext.ts │ │ ├── xmlObjectDefinition.ts │ │ ├── xmlObjectDefinitionParser.ts │ │ └── xmlObjectElementParser.ts ├── index.ts ├── interfaces.ts ├── jsx.ts └── utils │ ├── decorator.ts │ ├── errMsg.ts │ ├── errorFactory.ts │ ├── lodashWrap.ts │ ├── metaKeys.ts │ ├── metadata.ts │ ├── reflectTool.ts │ └── xmldomWrap.ts ├── test ├── fixtures │ ├── UserClass.ts │ ├── app │ │ ├── config │ │ │ └── config.js │ │ ├── hello.js │ │ ├── lib │ │ │ ├── ctor │ │ │ │ ├── aspect.js │ │ │ │ ├── async.js │ │ │ │ ├── obj1.js │ │ │ │ ├── obj2.js │ │ │ │ ├── obj3.js │ │ │ │ ├── obj4.js │ │ │ │ ├── obj5.js │ │ │ │ ├── obj6.js │ │ │ │ └── obj7.js │ │ │ ├── list │ │ │ │ ├── obj1.js │ │ │ │ ├── obj2.js │ │ │ │ └── obj3.js │ │ │ └── object │ │ │ │ ├── bar.js │ │ │ │ └── bcd.js │ │ ├── locales │ │ │ ├── en.json │ │ │ └── zh-cn.json │ │ ├── node_modules │ │ │ └── hello │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ ├── resources │ │ │ ├── construction.xml │ │ │ ├── context.xml │ │ │ ├── list.xml │ │ │ ├── mixin.xml │ │ │ └── object.xml │ │ └── simple.js │ ├── circular_dependency.ts │ ├── class_sample.ts │ ├── class_sample_car.ts │ ├── complex_injection │ │ ├── dbAPI.ts │ │ ├── userController.ts │ │ └── userService.ts │ ├── decorator │ │ ├── custom.ts │ │ └── customClass.ts │ ├── fun_sample.ts │ ├── js-app-inject │ │ ├── app.js │ │ └── loader.js │ ├── mix_sample.ts │ └── singleton_sample.ts └── unit │ ├── base │ ├── configuration.test.ts │ ├── decoratorManager.test.ts │ ├── functionDefinition.test.ts │ ├── messageSource.test.ts │ ├── objectCreator.test.ts │ ├── objectDefinition.test.ts │ └── resource.test.ts │ ├── container.test.ts │ ├── factory │ ├── applicationContext.test.ts │ ├── common │ │ ├── autowire.test.ts │ │ └── managedResolverFactory.test.ts │ ├── utils │ │ ├── errorFactory.test.ts │ │ └── reflectTool.test.ts │ └── xml │ │ ├── MixinDefinitionParser.ts │ │ ├── XmlApplicationContext.test.ts │ │ ├── XmlObjectDefinition.test.ts │ │ ├── XmlObjectDefinitionParser.test.ts │ │ ├── XmlObjectElementParser.test.ts │ │ ├── utils.test.ts │ │ └── xmltest.ts │ ├── index.test.ts │ └── requestContainer.test.ts ├── tsconfig.json └── tslint.json /.autod.conf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/.autod.conf.js -------------------------------------------------------------------------------- /.githooks/pre-commit/filter.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/.githooks/pre-commit/filter.sh -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/README.md -------------------------------------------------------------------------------- /benchmark/.gitignore: -------------------------------------------------------------------------------- 1 | *.map 2 | *.d.ts 3 | *.js -------------------------------------------------------------------------------- /benchmark/fixtures/injection.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/benchmark/fixtures/injection.ts -------------------------------------------------------------------------------- /benchmark/fixtures/inversify.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/benchmark/fixtures/inversify.ts -------------------------------------------------------------------------------- /benchmark/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/benchmark/index.ts -------------------------------------------------------------------------------- /benchmark/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/benchmark/readme.md -------------------------------------------------------------------------------- /benchmark/req-scope/userController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/benchmark/req-scope/userController.ts -------------------------------------------------------------------------------- /benchmark/req-scope/userService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/benchmark/req-scope/userService.ts -------------------------------------------------------------------------------- /benchmark/requestContainer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/benchmark/requestContainer.ts -------------------------------------------------------------------------------- /benchmark/singleton-scope/userController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/benchmark/singleton-scope/userController.ts -------------------------------------------------------------------------------- /benchmark/singleton-scope/userService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/benchmark/singleton-scope/userService.ts -------------------------------------------------------------------------------- /benchmark/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/benchmark/tsconfig.json -------------------------------------------------------------------------------- /docs/.nojekyll: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/.vuepress/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/docs/.vuepress/config.js -------------------------------------------------------------------------------- /docs/.vuepress/override.styl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/docs/.vuepress/override.styl -------------------------------------------------------------------------------- /docs/.vuepress/style.styl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/docs/.vuepress/style.styl -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/docs/README.md -------------------------------------------------------------------------------- /docs/en/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/docs/en/README.md -------------------------------------------------------------------------------- /docs/en/guide.md: -------------------------------------------------------------------------------- 1 | --- 2 | sidebar: auto 3 | --- 4 | 5 | # IoC manual 6 | 7 | Comming soon. 8 | -------------------------------------------------------------------------------- /docs/guide.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/docs/guide.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/package.json -------------------------------------------------------------------------------- /scripts/deploy.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/scripts/deploy.sh -------------------------------------------------------------------------------- /scripts/deploy_doc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/scripts/deploy_doc.js -------------------------------------------------------------------------------- /scripts/deploy_key.enc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/scripts/deploy_key.enc -------------------------------------------------------------------------------- /src/annotation/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/src/annotation/index.ts -------------------------------------------------------------------------------- /src/annotation/inject.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/src/annotation/inject.ts -------------------------------------------------------------------------------- /src/annotation/objectDef.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/src/annotation/objectDef.ts -------------------------------------------------------------------------------- /src/annotation/provide.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/src/annotation/provide.ts -------------------------------------------------------------------------------- /src/base/configuration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/src/base/configuration.ts -------------------------------------------------------------------------------- /src/base/decoratorManager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/src/base/decoratorManager.ts -------------------------------------------------------------------------------- /src/base/functionDefinition.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/src/base/functionDefinition.ts -------------------------------------------------------------------------------- /src/base/messageSource.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/src/base/messageSource.ts -------------------------------------------------------------------------------- /src/base/objectCreator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/src/base/objectCreator.ts -------------------------------------------------------------------------------- /src/base/objectDefinition.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/src/base/objectDefinition.ts -------------------------------------------------------------------------------- /src/base/resource.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/src/base/resource.ts -------------------------------------------------------------------------------- /src/base/scope.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/src/base/scope.ts -------------------------------------------------------------------------------- /src/factory/applicationContext.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/src/factory/applicationContext.ts -------------------------------------------------------------------------------- /src/factory/common/autowire.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/src/factory/common/autowire.ts -------------------------------------------------------------------------------- /src/factory/common/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/src/factory/common/constants.ts -------------------------------------------------------------------------------- /src/factory/common/managed.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/src/factory/common/managed.ts -------------------------------------------------------------------------------- /src/factory/common/managedResolverFactory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/src/factory/common/managedResolverFactory.ts -------------------------------------------------------------------------------- /src/factory/container.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/src/factory/container.ts -------------------------------------------------------------------------------- /src/factory/requestContainer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/src/factory/requestContainer.ts -------------------------------------------------------------------------------- /src/factory/xml/example.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/src/factory/xml/example.xml -------------------------------------------------------------------------------- /src/factory/xml/interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/src/factory/xml/interface.ts -------------------------------------------------------------------------------- /src/factory/xml/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/src/factory/xml/utils.ts -------------------------------------------------------------------------------- /src/factory/xml/xmlApplicationContext.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/src/factory/xml/xmlApplicationContext.ts -------------------------------------------------------------------------------- /src/factory/xml/xmlObjectDefinition.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/src/factory/xml/xmlObjectDefinition.ts -------------------------------------------------------------------------------- /src/factory/xml/xmlObjectDefinitionParser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/src/factory/xml/xmlObjectDefinitionParser.ts -------------------------------------------------------------------------------- /src/factory/xml/xmlObjectElementParser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/src/factory/xml/xmlObjectElementParser.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/interfaces.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/src/interfaces.ts -------------------------------------------------------------------------------- /src/jsx.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/src/jsx.ts -------------------------------------------------------------------------------- /src/utils/decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/src/utils/decorator.ts -------------------------------------------------------------------------------- /src/utils/errMsg.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/src/utils/errMsg.ts -------------------------------------------------------------------------------- /src/utils/errorFactory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/src/utils/errorFactory.ts -------------------------------------------------------------------------------- /src/utils/lodashWrap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/src/utils/lodashWrap.ts -------------------------------------------------------------------------------- /src/utils/metaKeys.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/src/utils/metaKeys.ts -------------------------------------------------------------------------------- /src/utils/metadata.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/src/utils/metadata.ts -------------------------------------------------------------------------------- /src/utils/reflectTool.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/src/utils/reflectTool.ts -------------------------------------------------------------------------------- /src/utils/xmldomWrap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/src/utils/xmldomWrap.ts -------------------------------------------------------------------------------- /test/fixtures/UserClass.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/fixtures/UserClass.ts -------------------------------------------------------------------------------- /test/fixtures/app/config/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/fixtures/app/config/config.js -------------------------------------------------------------------------------- /test/fixtures/app/hello.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/fixtures/app/hello.js -------------------------------------------------------------------------------- /test/fixtures/app/lib/ctor/aspect.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/fixtures/app/lib/ctor/aspect.js -------------------------------------------------------------------------------- /test/fixtures/app/lib/ctor/async.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/fixtures/app/lib/ctor/async.js -------------------------------------------------------------------------------- /test/fixtures/app/lib/ctor/obj1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/fixtures/app/lib/ctor/obj1.js -------------------------------------------------------------------------------- /test/fixtures/app/lib/ctor/obj2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/fixtures/app/lib/ctor/obj2.js -------------------------------------------------------------------------------- /test/fixtures/app/lib/ctor/obj3.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/fixtures/app/lib/ctor/obj3.js -------------------------------------------------------------------------------- /test/fixtures/app/lib/ctor/obj4.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = class Obj4 { 4 | 5 | }; 6 | -------------------------------------------------------------------------------- /test/fixtures/app/lib/ctor/obj5.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/fixtures/app/lib/ctor/obj5.js -------------------------------------------------------------------------------- /test/fixtures/app/lib/ctor/obj6.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/fixtures/app/lib/ctor/obj6.js -------------------------------------------------------------------------------- /test/fixtures/app/lib/ctor/obj7.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/fixtures/app/lib/ctor/obj7.js -------------------------------------------------------------------------------- /test/fixtures/app/lib/list/obj1.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = class Obj1 { 4 | 5 | }; 6 | -------------------------------------------------------------------------------- /test/fixtures/app/lib/list/obj2.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = class Obj2 { 4 | 5 | }; 6 | -------------------------------------------------------------------------------- /test/fixtures/app/lib/list/obj3.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = class Obj3 { 4 | 5 | }; 6 | -------------------------------------------------------------------------------- /test/fixtures/app/lib/object/bar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/fixtures/app/lib/object/bar.js -------------------------------------------------------------------------------- /test/fixtures/app/lib/object/bcd.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/fixtures/app/lib/object/bcd.js -------------------------------------------------------------------------------- /test/fixtures/app/locales/en.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/fixtures/app/locales/en.json -------------------------------------------------------------------------------- /test/fixtures/app/locales/zh-cn.json: -------------------------------------------------------------------------------- 1 | { 2 | "hello": "这是一个测试", 3 | "this is": "a test %s" 4 | } 5 | -------------------------------------------------------------------------------- /test/fixtures/app/node_modules/hello/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/fixtures/app/node_modules/hello/index.js -------------------------------------------------------------------------------- /test/fixtures/app/node_modules/hello/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/fixtures/app/node_modules/hello/package.json -------------------------------------------------------------------------------- /test/fixtures/app/resources/construction.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/fixtures/app/resources/construction.xml -------------------------------------------------------------------------------- /test/fixtures/app/resources/context.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/fixtures/app/resources/context.xml -------------------------------------------------------------------------------- /test/fixtures/app/resources/list.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/fixtures/app/resources/list.xml -------------------------------------------------------------------------------- /test/fixtures/app/resources/mixin.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/fixtures/app/resources/mixin.xml -------------------------------------------------------------------------------- /test/fixtures/app/resources/object.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/fixtures/app/resources/object.xml -------------------------------------------------------------------------------- /test/fixtures/app/simple.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/fixtures/app/simple.js -------------------------------------------------------------------------------- /test/fixtures/circular_dependency.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/fixtures/circular_dependency.ts -------------------------------------------------------------------------------- /test/fixtures/class_sample.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/fixtures/class_sample.ts -------------------------------------------------------------------------------- /test/fixtures/class_sample_car.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/fixtures/class_sample_car.ts -------------------------------------------------------------------------------- /test/fixtures/complex_injection/dbAPI.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/fixtures/complex_injection/dbAPI.ts -------------------------------------------------------------------------------- /test/fixtures/complex_injection/userController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/fixtures/complex_injection/userController.ts -------------------------------------------------------------------------------- /test/fixtures/complex_injection/userService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/fixtures/complex_injection/userService.ts -------------------------------------------------------------------------------- /test/fixtures/decorator/custom.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/fixtures/decorator/custom.ts -------------------------------------------------------------------------------- /test/fixtures/decorator/customClass.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/fixtures/decorator/customClass.ts -------------------------------------------------------------------------------- /test/fixtures/fun_sample.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/fixtures/fun_sample.ts -------------------------------------------------------------------------------- /test/fixtures/js-app-inject/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/fixtures/js-app-inject/app.js -------------------------------------------------------------------------------- /test/fixtures/js-app-inject/loader.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/fixtures/js-app-inject/loader.js -------------------------------------------------------------------------------- /test/fixtures/mix_sample.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/fixtures/mix_sample.ts -------------------------------------------------------------------------------- /test/fixtures/singleton_sample.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/fixtures/singleton_sample.ts -------------------------------------------------------------------------------- /test/unit/base/configuration.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/unit/base/configuration.test.ts -------------------------------------------------------------------------------- /test/unit/base/decoratorManager.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/unit/base/decoratorManager.test.ts -------------------------------------------------------------------------------- /test/unit/base/functionDefinition.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/unit/base/functionDefinition.test.ts -------------------------------------------------------------------------------- /test/unit/base/messageSource.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/unit/base/messageSource.test.ts -------------------------------------------------------------------------------- /test/unit/base/objectCreator.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/unit/base/objectCreator.test.ts -------------------------------------------------------------------------------- /test/unit/base/objectDefinition.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/unit/base/objectDefinition.test.ts -------------------------------------------------------------------------------- /test/unit/base/resource.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/unit/base/resource.test.ts -------------------------------------------------------------------------------- /test/unit/container.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/unit/container.test.ts -------------------------------------------------------------------------------- /test/unit/factory/applicationContext.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/unit/factory/applicationContext.test.ts -------------------------------------------------------------------------------- /test/unit/factory/common/autowire.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/unit/factory/common/autowire.test.ts -------------------------------------------------------------------------------- /test/unit/factory/common/managedResolverFactory.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/unit/factory/common/managedResolverFactory.test.ts -------------------------------------------------------------------------------- /test/unit/factory/utils/errorFactory.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/unit/factory/utils/errorFactory.test.ts -------------------------------------------------------------------------------- /test/unit/factory/utils/reflectTool.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/unit/factory/utils/reflectTool.test.ts -------------------------------------------------------------------------------- /test/unit/factory/xml/MixinDefinitionParser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/unit/factory/xml/MixinDefinitionParser.ts -------------------------------------------------------------------------------- /test/unit/factory/xml/XmlApplicationContext.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/unit/factory/xml/XmlApplicationContext.test.ts -------------------------------------------------------------------------------- /test/unit/factory/xml/XmlObjectDefinition.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/unit/factory/xml/XmlObjectDefinition.test.ts -------------------------------------------------------------------------------- /test/unit/factory/xml/XmlObjectDefinitionParser.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/unit/factory/xml/XmlObjectDefinitionParser.test.ts -------------------------------------------------------------------------------- /test/unit/factory/xml/XmlObjectElementParser.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/unit/factory/xml/XmlObjectElementParser.test.ts -------------------------------------------------------------------------------- /test/unit/factory/xml/utils.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/unit/factory/xml/utils.test.ts -------------------------------------------------------------------------------- /test/unit/factory/xml/xmltest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/unit/factory/xml/xmltest.ts -------------------------------------------------------------------------------- /test/unit/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/unit/index.test.ts -------------------------------------------------------------------------------- /test/unit/requestContainer.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/test/unit/requestContainer.test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midwayjs/injection/HEAD/tslint.json --------------------------------------------------------------------------------