When the constructor of the host is called, the host USES the parent service provider (IServiceProvider) to construct its service container.
当宿主的构造函数被调用时,该宿主使用父服务提供程序(IServiceProvider)来构建它的服务容器。
Because a service container can store and retrieve services, they are also considered service providers and as such implement IServiceProvider.
因为服务容器可以存储和检索服务,所以它们还被视为服务提供程序,并因此实现了IServiceProvider。
Because a service container can store and retrieve services, they are also considered service providers and as such implement IServiceProvider.
因为服务容器可以存储和检索服务,所以它们还被视为服务提供程序,并因此实现了IServiceProvider。
应用推荐