Click or drag to resize

ConstructorBinderBind Method

Binds the set of parameters to the constructor. CanInstantiate indicates success.

Namespace:  Autofac.Core.Activators.Reflection
Assembly:  Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
Syntax
public BoundConstructor Bind(
	IEnumerable<Parameter> availableParameters,
	IComponentContext context
)

Parameters

availableParameters
Type: System.Collections.GenericIEnumerableParameter
The set of all parameters.
context
Type: AutofacIComponentContext
The current component context.

Return Value

Type: BoundConstructor
The bind result.
See Also