Click or drag to resize

IConstructorSelectorSelectConstructorBinding Method

Selects the best constructor from the available constructors.

Namespace:  Autofac.Core.Activators.Reflection
Assembly:  Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
Syntax
BoundConstructor SelectConstructorBinding(
	BoundConstructor[] constructorBindings,
	IEnumerable<Parameter> parameters
)

Parameters

constructorBindings
Type: Autofac.Core.Activators.ReflectionBoundConstructor
Available constructors.
parameters
Type: System.Collections.GenericIEnumerableParameter
Parameters to the instance being resolved.

Return Value

Type: BoundConstructor
The best constructor.
See Also