Skip to content
This repository has been archived by the owner on May 29, 2020. It is now read-only.

目前服务接口支持使用依赖注入,但是不支持Transient的注入,可否支持? #9

Open
snk8828912 opened this issue Jul 31, 2019 · 1 comment
Assignees
Labels
优化 原有功能优化

Comments

@snk8828912
Copy link

IocManager.IocContainer.Register(Component.For().Instance(serviceDefine).LifestyleSingleton());

@NepPure
Copy link

NepPure commented Jul 31, 2019

可以考虑根据类继承的是多实例还是单例注册来区分一下

@real-zony real-zony added the 优化 原有功能优化 label Jul 31, 2019
@real-zony real-zony self-assigned this Jul 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
优化 原有功能优化
Projects
None yet
Development

No branches or pull requests

3 participants