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

ServiceProviderProvider.ServiceProvider Property

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.

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