2
|
Guerrilla · 技术社区 · 5 月前 |
1
2
因为
内置DI不 support property injection :
通过属性的机制是ASP。NET Core请求特定于 controller actions , minimal API handlers 或 Razor pages 基于每个请求(即web请求)。这里没有请求,只有一个“普通”DI容器。 |