Open sandboxFocus

Class ServiceLocatorDependencyInjectionFramework

An implementation a dependency injection framework adapter that pulls dependency from a global IServiceProvider exposed on the ServiceProviderProvider class.

Inheritance
ServiceLocatorDependencyInjectionFramework
Namespace: Metalama.Extensions.DependencyInjection.ServiceLocator
Assembly: Metalama.Extensions.DependencyInjection.ServiceLocator.dll
Syntax
[CompileTime]
public class ServiceLocatorDependencyInjectionFramework : DefaultDependencyInjectionFramework, IDependencyInjectionFramework

Constructors

Name Description
ServiceLocatorDependencyInjectionFramework()

Methods

Name Description
GetStrategy(DependencyProperties)

Gets an instance of the DefaultDependencyInjectionStrategy class for a given context.