An implementation a dependency injection framework adapter that pulls dependency from a global IServiceProvider exposed on the ServiceProviderProvider class.
Implements
Namespace: Metalama.Extensions.DependencyInjection.ServiceLocator
Assembly: Metalama.Extensions.DependencyInjection.ServiceLocator.dll
Syntax
[CompileTime]
public class ServiceLocatorDependencyInjectionFramework : DefaultDependencyInjectionFramework, IDependencyInjectionFrameworkConstructors
| Name | Description |
|---|---|
| ServiceLocatorDependencyInjectionFramework() |
Methods
| Name | Description |
|---|---|
| GetStrategy(DependencyProperties) | Gets an instance of the DefaultDependencyInjectionStrategy class for a given context. |