Autofac .NET Inversion of Control Container
Resolve Method (context, service, parameters)
NamespacesAutofacResolutionExtensionsResolve(IComponentContext, Service, array<Parameter>[]()[])
Retrieve a service from the context.
Declaration Syntax
C#Visual BasicVisual C++
public static Object Resolve(
	IComponentContext context,
	Service service,
	params Parameter[] parameters
)
Public Shared Function Resolve ( _
	context As IComponentContext, _
	service As Service, _
	ParamArray parameters As Parameter() _
) As Object
public:
static Object^ Resolve(
	IComponentContext^ context, 
	Service^ service, 
	... array<Parameter^>^ parameters
)
Parameters
context (IComponentContext)
The context from which to resolve the service.
service (Service)
The service to resolve.
parameters (array< Parameter >[]()[])
Parameters for the service.
Return Value
The component instance that provides the service.
Exceptions

Assembly: Autofac (Module: Autofac) Version: 2.1.13.813 (2.1.13.813)