{"repo":"zhouhoujun/tsioc","free":true,"listed":false,"github":"https://github.com/zhouhoujun/tsioc","clone":"git clone https://github.com/zhouhoujun/tsioc.git","description":"AOP, Ioc container, Boot framework, unit testing framework , activities workflow framework.","language":"TypeScript","stars":20,"topics":["ioc","typescript-decorators","ioc-container","aop","unit-test","boot","framework","typescript","unit","unittest"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"packaged @tsdi/ioc This repo is for distribution on npm . The source for this module is in the main repo. @tsdi/ioc is Ioc container, Injector, via typescript decorator. version 5+ of @ts-ioc/core tsioc builder Install add extends modules use aop use aop logs Documentation core extends ioc 1. @IocExt class decortator, use to define the class is Ioc extends module. it will auto run after registered to helper your to setup module. 2. add service resolve. 3. module inject. Ioc 1. Register one class will auto register depdence class (must has a class decorator). 2. get Instance can auto create constructor param. (must has a class decorator or register in container). decorators 1. @Abstract abstract class decorator. 2. @AutoRun class, method decorator, use to define the class auto run (via a method or not) after registered. 3. @AutoWried property or param decorator, use to auto wried type instance or value to the instance of one class with the decorator. 4. @Inject property or param decorator, use to auto wried type instance or value to the instance of one class with the decorator. 5. @Injectable class decortator, use to define the class. it can setting provider to some token, singleton or not. 6. @AutoWried method decorator. 7. @Param param decorator, use to auto wried type instance or value to the instance of one class with the decorator. 8. @Singleton class decortator, use to define the class is singleton. 9. @Providers Providers decorator, for class. use to add private ref ser","default_branch":null,"files":null,"tree":[],"storefront":"/r/zhouhoujun","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/zhouhoujun/tsioc/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}