Metalama / / API Documentation / Extensions API / Metalama.​Extensions.​Dependency­Injection.​Service­Locator / Service­Provider­Provider

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 : Object

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.