来源有评论说TryAdd如果版本已经注册,则版本不会添加服务IServiceCollection.但是docs没有提到这种方法.应该什么时候使用?
TryAdd
IServiceCollection
.net-core asp.net-core
.net-core ×1
asp.net-core ×1