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

Property ServiceProvider

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.

Declaration
public static Func<IServiceProvider> ServiceProvider { get; set; }
Property Value
Type Description
Func<IServiceProvider>