Why does this DI example perform IServiceProvider.GetService

后端 未结 0 1969
星月不相逢
星月不相逢 2021-01-28 13:33

At this page on the topic of Dependency Injection in Dot Net is this example...

namespace ConsoleDI.Example
{
    class Program
    {
        static Task Main(str         


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