Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reset问题 #512

Open
iOSyifeng opened this issue Jul 7, 2022 · 1 comment
Open

reset问题 #512

iOSyifeng opened this issue Jul 7, 2022 · 1 comment

Comments

@iOSyifeng
Copy link

为什么不提供个根据name reset的方法 现在只有全局reset

@DhbStudy
Copy link

我其实也在找你说的功能,从接口上确实可以加

目前可以:
参考:https://github.com/Swinject/Swinject/blob/master/Documentation/ObjectScopes.md 的 Custom Scopes 部分
用自定义Scope应该能实现你的需求

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants