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

如何兼容.net8 的KeyedServices #4

Open
rioxiaoliliang opened this issue Dec 5, 2023 · 0 comments
Open

如何兼容.net8 的KeyedServices #4

rioxiaoliliang opened this issue Dec 5, 2023 · 0 comments

Comments

@rioxiaoliliang
Copy link

我在 #3 给出了一种在.net8 平台下能使用KeyedServices 注入的实现,并且保留了原来的写法。
但确实如 @xljiulang 所说无法向.net8以下的版本兼容。
我想了想,创建一个独立的KeyedServiceAttribute 确实比较好。
不知道 @xljiulang 什么时候有时间实现?如果没有时间我也可以修改一下再pull。

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

1 participant