Open sandboxFocus

Method SelectFramework

SelectFramework(DependencyProperties, ImmutableArray<IDependencyInjectionFramework>)

Selects the IDependencyInjectionFramework that should handle a given dependency.

Declaration
IDependencyInjectionFramework SelectFramework(DependencyProperties properties, ImmutableArray<IDependencyInjectionFramework> eligibleFrameworks)
Parameters
Type Name Description
DependencyProperties properties

The properties of this dependencies.

ImmutableArray<IDependencyInjectionFramework> eligibleFrameworks

The list of frameworks that are eligible for this dependency.

Returns
Type Description
IDependencyInjectionFramework

The selected dependency.