Click or drag to resize

IComponentContextResolveComponent Method

Resolve an instance of the provided registration within the context.

Namespace:  Autofac
Assembly:  Autofac (in Autofac.dll) Version: 4.9.1+831973f4d02fbc619921dfaa8ac0c536f60ae7a3
Syntax
Object ResolveComponent(
	IComponentRegistration registration,
	IEnumerable<Parameter> parameters
)

Parameters

registration
Type: Autofac.CoreIComponentRegistration
The registration.
parameters
Type: System.Collections.GenericIEnumerableParameter
Parameters for the instance.

Return Value

Type: Object
The component instance.
Exceptions
See Also