Chaining Dependency Injection in .NET Core 3.1

后端 未结 0 760
心在旅途
心在旅途 2021-01-27 08:35

I have the following code

services.AddSingleton(new FancyServiceA());
services.AddSingleton(new FancyServiceB());
servic         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题