MetalamaAPI documentationExtensions APIMetalama.​Extensions.​Dependency­Injection.​Service­LocatorService­Provider­Provider
Open sandboxFocus

ServiceProviderProvider Class

Exposes the global service provider.

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

Properties

Name Description
ServiceProvider

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