Open sandboxFocus

Class ServiceProviderProvider

Exposes the global service provider.

Inheritance
ServiceProviderProvider
Namespace: Metalama.Extensions.DependencyInjection.ServiceLocator
Assembly: Metalama.Extensions.DependencyInjection.ServiceLocator.dll
Syntax
public static class ServiceProviderProvider

Properties

Name Description
ServiceProvider

Gets or sets a delegate that provides a IServiceProvider. This delegate is called from types that consume dependencies. The default implementation is to return a IServiceProvider that contains no service.