MetalamaAPI documentationExtensions APIMetalama.​Extensions.​Dependency­InjectionIDependency­Injection­Framework­Selector
Open sandboxFocus

IDependencyInjectionFrameworkSelector Interface

Exposes a method SelectFramework(DependencyProperties, ImmutableArray<IDependencyInjectionFramework>) that gets called when there are many candidate frameworks for a dependency.

Namespace: Metalama.Extensions.DependencyInjection
Assembly: Metalama.Extensions.DependencyInjection.dll
Syntax
[CompileTime]
public interface IDependencyInjectionFrameworkSelector : ICompileTimeSerializable

Methods

Name Description
SelectFramework(DependencyProperties, ImmutableArray<IDependencyInjectionFramework>)

Selects the IDependencyInjectionFramework that should handle a given dependency.